On Thu, Apr 21, 2016 at 2:00 PM, Hironobu YAMASHITA < [email protected]> wrote:
> I found that LuaTeX 0.95.0 fontloader crashes when input ttf file > has a cmap format 13. > > AdobeBlank2.ttf freely available from > https://github.com/adobe-fonts/adobe-blank-2 > has a rare cmap format: > <cmap_format_13 platformID="3" platEncID="10" format="13"> > When I install it, LuaTeX causes segmentation fault: > > % luatex test1.tex > \directlua{fontloader.open('AdobeBlank2.ttf')}\bye > > This is LuaTeX, Version beta-0.95.0 (TeX Live 2016/W32TeX) > restricted system commands enabled. > (./test1.texSegmentation fault: 11 > > LuaTeX 0.80.0 did not crash with the same font, so there might be > an accidental degradation. The issue reported in > https://github.com/lualatex/luaotfload/issues/327 > with LastResort.ttf (MacOSX bundle) seems to be the same. > > Hironobu Yamashita > We are seeing. ttx says that this font has error(s) # ttx AdobeBlank2.ttf Dumping "AdobeBlank2.ttf" to "AdobeBlank2.ttx"... Dumping 'GlyphOrder' table... Dumping 'head' table... Dumping 'hhea' table... Dumping 'maxp' table... Dumping 'OS/2' table... Dumping 'hmtx' table... Error: cmap subtable is reported as having zero length: platformID 3, platEncID 10, format 13 offset 12. Skipping table. Dumping 'cmap' table... Dumping 'fpgm' table... Dumping 'prep' table... Dumping 'cvt ' table... Dumping 'loca' table... Dumping 'glyf' table... Dumping 'name' table... Dumping 'post' table... Dumping 'gasp' table... Dumping 'DSIG' table... -- luigi
