[gs-bugs] [Bug 690441] Files render properly with gs, but are misformatted by ps2pdf
bugzilla-daemon at ghostscript.com
bugzilla-daemon at ghostscript.com
Mon Sep 6 10:17:19 UTC 2010
http://bugs.ghostscript.com/show_bug.cgi?id=690441
Ken Sharp <ken.sharp at artifex.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Ken Sharp <ken.sharp at artifex.com> 2010-09-06 10:17:17 UTC ---
The problem is caused by an unusual CMap included in the PostScript file, one
of the glyphs has an unusual name:
...
<0049> /I
<004a> /J
<004b> /K
<004c> /L
<004d> /M
<004e> /glyph1197
<004f> /O
<0050> /P
<0051> /Q
<0052> /R
...
I'm guessing that the font "/TimesNewRomanPS-BoldMT" has been modified at some
point, which is why the glyph is not called /N as would be expected.
This forces pdfwrite to write a custom encoding instead of a standard encoding.
Unfortunately a previous update meant that if this route was taken, and this
was the first time we had encountered this font, an internal string would not
be initialised with the encoded characters.
This meant that the memory was partially uninitialised, which led to the string
writing code stopping when it encountered two 0x00 bytes in succession, leading
to truncated text output.
This has been fixed in revision 11689, patch here:
http://ghostscript.com/pipermail/gs-cvs/2010-September/011706.html
--
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the gs-bugs
mailing list