[gs-cvs] gs/lib
Alex Cherepanov
alexcher at ghostscript.com
Mon Jan 10 06:54:55 PST 2005
Update of /cvs/ghostscript/gs/lib
In directory casper2:/tmp/cvs-serv23207/gs/lib
Modified Files:
pdf_font.ps
Log Message:
Ignore / as a name of BaseEncoding; recover broken PDF files generated
by J.D.Edwards OneWorld (B7333).
Fix bug 687786 from customer 220.
Index: pdf_font.ps
===================================================================
RCS file: /cvs/ghostscript/gs/lib/pdf_font.ps,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- pdf_font.ps 21 Dec 2004 11:27:27 -0000 1.73
+++ pdf_font.ps 10 Jan 2005 14:54:53 -0000 1.74
@@ -86,8 +86,17 @@
ifelse
}
{ dup /BaseEncoding knownoget
- { findencoding 3 -1 roll pop exch
- }
+ {
+ dup / eq
+ { pop
+ ( **** Warning: Ignoring bad BaseEncoding name.\n) pdfformaterror
+ % as found in a PDF file from J.D.Edwards OneWorld (B7333), bug 687786
+ }
+ {
+ findencoding 3 -1 roll pop exch
+ }
+ ifelse
+ }
if
/Differences knownoget { updateencoding } if
}
More information about the gs-cvs
mailing list