[XeTeX] Checking if a font exists
Philip Taylor (Webmaster, Ret'd)
P.Taylor at Rhul.Ac.Uk
Mon Aug 30 10:58:20 CEST 2010
Heiko Oberdiek wrote:
> On Mon, Aug 30, 2010 at 08:22:53AM +0100, Jonathan Kew wrote:
>> I'm surprised no-one has suggested the straightforward, pure-xetex approach: something along these lines (untested).....
<snip>
> * It takes lots of time if the font cannot be found.
> * kpsathea complains "Invalid fontname `Myriad Pro', contains ' '
> * The error code is set because of the error message, if the
> font cannot be found.
None the less, it still seems to be the philosophically correctly
approach (IMHO, of course).
Philip Taylor
More information about the XeTeX
mailing list