[NTG-context] [fontloader] crash in font-otf.lua / actions["reorganize glyph anchors"]

Philipp Gesang Philipp.Gesang at alumni.uni-heidelberg.de
Sun Dec 14 16:23:31 CET 2014


Hi Hans,

this bug was reported a while ago by user Thérèse on
tex.stackexchange.com [1]. The font “Eadui.ttf” [2] causes the
fontloader to access a nil value because the “Anchor-1” table is
sparse (nil at index 3). Test file for Context:

    https://bitbucket.org/phg/lua-la-tex-tests/src/tip/cnt-eadui.tex

Patch attached, though I suspect it covers only the symptoms.

Philipp

[1] http://tex.stackexchange.com/q/195481/14066
[2] Download at http://openfontlibrary.org/font/eadui

-------------- next part --------------
A non-text attachment was scrubbed...
Name: font-otf.lua_reorganize_glyphs.patch
Type: text/x-diff
Size: 836 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20141214/db2f96c1/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20141214/db2f96c1/attachment.sig>


More information about the ntg-context mailing list