[XeTeX] segmentation fault with a given font

Jonathan Kew jonathan_kew at sil.org
Sat Jan 27 18:59:40 CET 2007


On 26 Jan 2007, at 9:11 pm, Pablo Rodríguez wrote:

> Checking all tables with spot tool from the Adobe Font Development Kit
> for OpenType, all is well, excepting the GPOS table, that makes  
> spot crash.

That surely suggests a problem in the font, and xetex is probably  
tripping over the same thing.

Of course, xetex shouldn't crash even if a font is damaged, but the  
low-level opentype code in ICU doesn't always check thoroughly for  
bad font data. (That may be a deliberate choice in the interests of  
efficiency, I suppose.)

It may be that I can make the code more robust, if I can find time to  
look into exactly where and why the failure happens, but the real  
solution is to fix the font.

JK



More information about the XeTeX mailing list