[gs-cvs] rev 9251 - trunk/gs/Resource/Init
alexcher at ghostscript.com
alexcher at ghostscript.com
Sat Nov 29 06:33:27 PST 2008
Author: alexcher
Date: 2008-11-29 06:33:26 -0800 (Sat, 29 Nov 2008)
New Revision: 9251
Modified:
trunk/gs/Resource/Init/pdf_font.ps
Log:
Ignore /ToUnicode attribute when it points to an object other then a stream.
Bug 680138.
DIFFERENCES:
None.
Modified: trunk/gs/Resource/Init/pdf_font.ps
===================================================================
--- trunk/gs/Resource/Init/pdf_font.ps 2008-11-29 12:27:04 UTC (rev 9250)
+++ trunk/gs/Resource/Init/pdf_font.ps 2008-11-29 14:33:26 UTC (rev 9251)
@@ -490,7 +490,8 @@
(.processToUnicode beg) =
} if
2 index /ToUnicode knownoget {
- dup type /nametype eq {
+ dup type /dicttype eq { dup /File known not } { //true } ifelse {
+ % We undefine wrong /Length and define /File in stream dictionaries.
% Bug687351.pdf defines /ToUnicode /Identity-H, what is incorrect.
( **** Warning: Ignoring bad ToUnicode CMap.\n) pdfformaterror
pop
More information about the gs-cvs
mailing list