XeTeXfontspec | Use Font in "home" Directory

Information and discussion about XeTeX, an alternative for pdfTeX based on e-Tex
Post Reply
AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm

fontspec | Use Font in "home" Directory

Post by AleCes »

I've got to test a new build of FreeSerif, which is installed by default in /usr/share/fonts, I cannot remove the old version because there are too many dependencies, too much of trouble. So I manually installed the newer version in ~/.fonts
Following the fontspec manual, I thought such a line might be OK:

Code: Select all

\fontspec[Path= ~/.fonts/, BoldFont=*Bold, ItalicFont=*Italic, BoldItalicFont=*BoldItalic]{FreeSerif}
But I keep on getting fontspec warnings that the font does not exist!

Recommended reading 2024:

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

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

Post Reply