[gs-bugs] [Bug 685335] PDF interpreter doesn't process ToUnicode
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Thu Jul 2 00:33:13 PDT 2009
http://bugs.ghostscript.com/show_bug.cgi?id=685335
ken.sharp at artifex.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
------- Additional Comments From ken.sharp at artifex.com 2009-07-02 00:33 -------
ToUnicode CMaps are processed by the PDF interpreter using code in the file
/gs/Resource/Init/pdf_font.ps, see the function '.processToUnicode'.
There is a specific test against the pdfwrite device:
{
% Currently pdfwrite is only device which can handle GlyphNames2Unicoide to
% generate a ToUnicode CMaps. So don't bother with other devices.
currentdevice .devicename /pdfwrite eq {
Despite the comments, I believe this handles ToUnicode CMaps from PDF files as
well as GlyphNames2Unicode from PostScript files.
If you remove the test, then the code will run normally for all devices. However
pdfwrite is the only high level device which can use this information, its not
clear to me what you want the JPEG device to do with it.
------- 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