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

Khaled Hosny khaledhosny at eglug.org
Mon May 7 11:10:55 CEST 2012


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).

Regards,
 Khaled


More information about the luatex mailing list