[gs-bugs] [Bug 690012] Error with ps2write output ps file when Unicode font is used

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Thu Aug 14 18:15:36 PDT 2008


http://bugs.ghostscript.com/show_bug.cgi?id=690012





------- Additional Comments From alex.cherepanov at artifex.com  2008-08-14 18:15 -------
Created an attachment (id=4274)
 --> (http://bugs.ghostscript.com/attachment.cgi?id=4274&action=view)
patch

This patch should fix the problem. I don't have ArialUnicodeMS font to test
the whole work flow starting from the input.ps file but the modified output.ps
file works on Distiller.

The file doesn't work on Ghostscript because of the bug in Type42 font reader.
Ghostscript requires that TT tables cross no string boundaries in /sfnt
array. See gxttfb.c line 85. This bug can and should be fixed.

The probability of encountering the bug can be reduced by using a larger
buffer at the expense of increased memory consumption, assuming that the whole
string stays in memory when any subinterval of the string is accessible.
Buffer length must be _even_ .

This file is not affected by cmap parser limitations I mentioned before.




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