[XeTeX] Checking if a font exists

Khaled Hosny khaledhosny at eglug.org
Mon Aug 30 12:25:07 CEST 2010


On Mon, Aug 30, 2010 at 08:22:53AM +0100, Jonathan Kew wrote:
> On 30 Aug 2010, at 05:56, Wilfred van Rooijen wrote:
> 
> > The (more dificult) solution could be to make a shell script which will run the compilation of the xelatex source and detect whether or not the run was succesfull - if not, change the input file to the other font and retry.
> 
> I'm surprised no-one has suggested the straightforward, pure-xetex approach: something along these lines (untested).....

Well, I thought about comparing to nullfont, but I don't know enough TeX
to know how to do it (I didn't even know there a \nullfont CS :).

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


More information about the XeTeX mailing list