[XeTeX] \ifFontExists

Arno Trautmann Arno.Trautmann at gmx.de
Fri Jan 2 00:06:04 CET 2009


Hi,

I need something that test if an font exists or not, like:

\ifFontExists{myfont}{\fontspec{myfont}}{\fontspec{otherfont}}

Is there an easy way to do this? I didn’t find anything in the fontspec
man or on the net.

thanks,
Arno

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://tug.org/pipermail/xetex/attachments/20090102/f6ac15b0/attachment.bin 


More information about the XeTeX mailing list