[XeTeX] ".ttf" automatically added to font names

Dirk Hünniger dirk.hunniger at googlemail.com
Fri May 12 16:32:10 CEST 2017


Hi,
look at the error message closely. It talks about

> cmunrm.ttf.ttf

This file obviously does not exist since it got a doubled extension.

>> causes the following error
>>> kpathsea:make_tex: Invalid fontname
>>> `[/usr/share/fonts/truetype/cmu/cmunrm.ttf.ttf]/OT', contains '['
> Yes, as I wrote the UprightFont key gives this error. But why do you
> use it in this way? It is normally only need to add some suffix to
> the font.
>
>> So the only question remaining is: Will the xetex compiler developers
> It is not a xetex but a fontspec question. And fontspec certainly
> won't drop the use of extensions -- it is actually normally
> recommended to use them. So if you get errors it either a bug or you
> are trying to use a font that doesn't exist on your system (or can't
> be found).
So its a bug.
Yours Dirk


More information about the XeTeX mailing list