[XeTeX] XeTeX and Vista

Jonathan Kew jonathan_kew at sil.org
Mon Apr 28 00:16:42 CEST 2008


On 27 Apr 2008, at 8:43 pm, Arno Trautmann wrote:

>>>
>> It sounds to me like maybe you need to run fc-cache as an
>> Administrator; I think Vista is preventing fc-cache or xetex (which
>> would normally do it automatically) from updating the fontconfig
>> cache file in the Windows Fonts directory.
>>
>> I don't know exactly how to do that, though; I'm not a Windows user.
>
> Actually quite easy: right-click on it and choose ”run as  
> administrator“
> (or like that, I‘m on a german system).
> I‘ve done that and now get the output, compiling this code:
>
> \\font\myfont = DS-Kurrent at 14pt
> \myfont test
> \bye
>
> „makemf: The DS-Kurrent source file could not be found.
> Running hbf2gf...
>
> hbf2gf (CJK ver. 4.7.0)
>
> Couldn't find `DS-Kurre.cfg'
> maketfm: No creation rule for font DS-Kurrent.“

This is because xetex is looking first for a TFM file named DS- 
Kurrent.tfm, and when it doesn't find one, it tries to use various  
other font generation/conversion tools to create it. Only after all  
this fails does it proceed to look for an installed font named DS- 
Kurrent.

If you put quote marks (either 'single' or "double") around the name,  
I think xetex will take this as a hint to try the name as an  
installed font name first, and only look for a TFM if that fails.

So I recommend *always* using "quote marks" when you're wanting to  
give a "real" font name rather than a TFM filename to xetex's \font  
command.

JK



More information about the XeTeX mailing list