[XeTeX] Checking if a font exists
Heiko Oberdiek
heiko.oberdiek at googlemail.com
Mon Aug 30 12:22:37 CEST 2010
On Mon, Aug 30, 2010 at 09:58:20AM +0100, Philip Taylor (Webmaster, Ret'd) wrote:
> 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).
What kind of philosophy? An error as part of normal behaviour? ;-)
Yours sincerely
Heiko Oberdiek
More information about the XeTeX
mailing list