[XeTeX] ".ttf" automatically added to font names
Dirk Hünniger
dirk.hunniger at googlemail.com
Fri May 12 21:57:12 CEST 2017
Hi Ulrike,
thanks for your help so far. Since this way of writing it seems to work
today.
\setmainfont[Path=/usr/share/fonts/truetype/cmu/,UprightFont=cmunrm,BoldFont=cmunbx,ItalicFont=cmunti,BoldItalicFont=cmunbi]{cmunbx.ttf}
I changed my source code to use this way of writing it. I will wait for
a few days, to see if someone objects. I will then publish a new version
of mediawiki2latex.
Thanks a lot
Yours Dirk
On 12.05.2017 16:59, Ulrike Fischer wrote:
> Am Fri, 12 May 2017 16:32:10 +0200 schrieb Dirk Hünniger:
>
>> look at the error message closely. It talks about
>
>>> cmunrm.ttf.ttf
> I saw this. But it comes from the UprightFont option. So I'm asking
> again: why don't you drop it? Fontspec obviously don't expect that
> the value of this key has an extension.
>
>
>> So its a bug.
> Perhaps. \setmainfont[UprightFont=arial.ttf]{arial.ttf} worked in
> TL15 but not in TL16. But as I don't see the reason for this setting
> I don't know if it a bug or if simply some unsupported side-effect
> no longer works. But you should better ask this in the issue tracker
> of fontspec: https://github.com/wspr/fontspec/issues
>
>
More information about the XeTeX
mailing list