[gs-bugs] [Bug 689516] problem reading PDF: Failed to interpret TT
instructions (ref 7814)
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Sat May 24 07:06:20 PDT 2008
http://bugs.ghostscript.com/show_bug.cgi?id=689516
------- Additional Comments From leonardo at artifex.com 2008-05-24 07:06 -------
The test document embeds a TT font, in which numGlyphs=5 and loca length =
28. This may be obtained when running with -ZY. The failed condition is
gstype42.c ln 518 :
if (glyph_index >= pfont->data.trueNumGlyphs)
return_error(gs_error_invalidfont);
So I've got an idea how to work around : when loading a font. check if
numGlyphs is smaller than locaa length. If so< chech whether all loca entries
are correct. If so, fix numGlyphs and print warning.
I'm not sure that it will work fine, but chances look pretty good. So at this
point we can talk to the customer that the document is incorrect, and we're
trying to develop a workaround.
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the gs-bugs
mailing list