Fonts & Character SetsCalibri Font

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
Blaze
Posts: 6
Joined: Sat Jan 21, 2012 10:44 pm

Calibri Font

Post by Blaze »

Hello everybody.

I´m finding very hard to make the Calibri font the main one on my document. I´ve tried all kind of variations of this command:

Code: Select all

\usepackage{fontspec}
\setmainfont{Calibri} 
But always appears the same error:
Fatal fontspec error: "cannot-use-pdflatex"
Everywhere I look at says "use Xetex instead of PDFLatex", but I´m sure that should be some way to use the Calibri font with PDFLatex. Any ideas?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Calibri Font

Post by localghost »

Blaze wrote:[…] I'm sure that should be some way to use the Calibri font with PDFLatex. […]
There is no support for the Calibri font under PDFLaTeX. I'm afraid you will have to use XeLaTeX unless you manage to convert the font for use with PDFLaTeX. You can try that with a guide for Minion Pro and Myriad Pro that a fellow member of this community has written once [1]. Good luck with that. But from my point of view it's much easier to use TrueType or OpenType fonts with XeLaTeX.

[1] View topic: Installation guide for Minion Pro and Myriad Pro on MiKTeX


Thorsten
Blaze
Posts: 6
Joined: Sat Jan 21, 2012 10:44 pm

Calibri Font

Post by Blaze »

I have problems with the lucida font. It compiles, but at the says that PDFLatex failed to create a pdf... and I don´t know what I´m doing wrong :? The problem comes when I use this package

Code: Select all

\usepackage[altbullet]{lucidabr}
And the most extrange thing is... that at the time to compile... there are not errors.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Calibri Font

Post by localghost »

Blaze wrote:I have problems with the lucida font. […]
Until shortly I thought we are talking about Calibri. Ok then, now it's Lucida. Perhaps some tips will help you on [1]. But as far as I know Lucida is a commercial font.

[1] Lucida and TeX - TeX Users Group
Blaze
Posts: 6
Joined: Sat Jan 21, 2012 10:44 pm

Re: Calibri Font

Post by Blaze »

localghost, you were the one who told me about lucida on your post, but you have edited it. Anyway, I´ll use an open font.

Thanks.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Calibri Font

Post by localghost »

Blaze wrote:localghost, you were the one who told me about lucida on your post, but you have edited it. […]
But this was only for a short moment. Didn't know that you already saw this. When I found out that Lucida was commercial, I immediately canceled this part of my answer. Sorry for the confusion.

According to my former suggestions you may think about using XeLaTeX for access to fonts installed on your operating system.
Post Reply