[XeTeX] Checking if a font exists

Alan Munn amunn at gmx.com
Sun Aug 29 18:17:38 CEST 2010


Is there a way to check whether a font is present in a user's system?   
I need to generate a document with Myriad Pro if it exists, Arial  
otherwise, and if neither, exit with an error.

I couldn't find anything in either the fontspec and xetex documentation.

Thanks

Alan

-- 
Alan Munn
amunn at gmx.com






More information about the XeTeX mailing list