[XeTeX] Test for font presence

Ron Aaron ron at ronware.org
Mon May 9 18:28:20 CEST 2011


Hi all -

Is there a way to test -- from within a XeTeX document -- for the
presence of a font, without causing the run to fail if the font doesn't
exist?

I would like to be able to do something like:


\fontexists{Libertine}
\iffontexists ... \else ... \fi

Thanks,
Ron


More information about the XeTeX mailing list