[luatex] Attempt to build font name database fails with app crash

Khaled Hosny khaledhosny at eglug.org
Sat Jul 7 15:39:17 CEST 2012


On Mon, May 07, 2012 at 11:10:55AM +0200, Khaled Hosny wrote:
> On Mon, May 07, 2012 at 10:09:33AM +0200, Mojca Miklavec wrote:
> > On Mon, May 7, 2012 at 9:54 AM, Mojca Miklavec wrote:
> > >
> > >    http://www.webpagepublicity.com/free-fonts/o/Orlando.ttf
> > 
> > If I try to install the font on my Mac, it cries out with
> >    1 minor problem was found. Proceed with caution.
> >    2 serious errors were found. Do not use these fonts.
> > 
> > The errors seem to be in 'post' and 'kern' tables, the warnings in 'sfnt'.
> > 
> > A simple example like
> > 
> > \starttext
> > \font\a=Orlando.ttf \a abc
> > \stoptext
> > 
> > crashes on my computer as well:
> > 
> > fonts           > otf loading > loading: Orlando.ttf (hash: orlando)
> > mtx-context     | fatal error: no return code, message: luatex:
> > execution interrupted
> > 
> > So: the font is definitely buggy, but it would be nice if luatex would
> > catch the problem and refuse to load the font instead of crashing.
> 
> The crash is in fontforge part of the font loader, the same fonts also
> crashes current FontForge in the same place (bad font encoding, it
> seems).

Fixed in FontForge, and back-ported to luatex, r4452.

Regards,
 Khaled


More information about the luatex mailing list