[XeTeX] Checking if a font exists

Wilfred van Rooijen wvanrooijen at yahoo.com
Mon Aug 30 13:47:54 CEST 2010


> 
> You can edit the file fonts.conf (for example in /etc/fonts
> or /usr/X11/lib/X11/fontconfig) or ~/.fonts.conf, your
> personal copy that fonts are searched additionally in
> particular places.

Certainly, but on a "standard system" this may not be set. Thus testing in fc-list would return a negative, even if the font is installed (and with the proper settings in fontspec, available to xelatex).

But I subscribe to Martin's statement: let xelatex report which fonts it knows, rather than an auxiliary program.

Wilfred


> 
> --
> Greetings
> 
>   Pete
> 
> Programming today is a race between software engineers
> striving to build bigger and better idiot-proof programs,
> and the Universe trying to produce bigger and better idiots.
> So far, the Universe is winning.
>            
>     – Rich Cook
> 
> 
> 
> 
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
> 






More information about the XeTeX mailing list