[gs-bugs] [Bug 691523] TrueType text in PDF/A files (CID Font) will not translate to Unicode

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Fri Aug 13 18:53:08 UTC 2010


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

--- Comment #9 from ghostscript_bugs at woessner-it.de 2010-08-13 18:53:05 UTC ---
(In reply to comment #7)

OK, I checked.

Here are my results:

The problem in 8.70 is, that font->procs.decode_glyph() will return GS_NO_CHAR
for the /hyphen. Strange enough, the function is able to map all other glyphs
to unicode but not the hyphen. Renaming /hyphen to /minus in the PS file fixes
the problem, but the whole thing seems a bit weird to me.

Is there an explanation, why decode_glyph() fails only for /hyphen?

The problem in 8.71 is, that, regardless what Technical Note 5411 says, Adobe
Reader 9 seems not to like 2 byte keys in ToUnicode CMaps. As soon as the keys
are 2 byte long, translation of copied text to unicode fails. Reverting the
changes in pdf_add_ToUnicode fixes that problem.

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