[XeTeX] Font names that result in errors

Wilfred van Rooijen wvanrooijen at yahoo.com
Fri Jan 30 19:41:56 CET 2009


Well,
> kpathsea: Illegal fontname `API PHONÉTIQUE': contains
> ' '
> ! Font \zf at basefont="API PHONÉTIQUE" at

Kind of says it, doesn't it. There cannot be whitespace in the name of the font, apparently. First, use 'fc-list grep API' to make sure that the name is "API PHONÉTIQUE". I remember I had a similar problem with some font and I was never to figure out what was wrong.

> > 
> > \fontspec{cmr10}
> 
> /usr/share/fonts/truetype/latex-xft-fonts/cmr10.ttf of
> package
> latex-xft-fonts

Make sure that the font identifies as 'cmr10' in fc-list, and not as 'ComputerModernRoman', or something.

Cheerio,
Wilfred




      


More information about the XeTeX mailing list