[gs-cvs] gs/lib
Alex Cherepanov
alexcher at ghostscript.com
Mon Jan 10 07:15:43 PST 2005
Update of /cvs/ghostscript/gs/lib
In directory casper2:/tmp/cvs-serv25172/gs/lib
Modified Files:
Tag: GS_8_1X
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.53.2.11
retrieving revision 1.53.2.12
diff -u -d -r1.53.2.11 -r1.53.2.12
--- pdf_font.ps 21 Dec 2004 11:32:37 -0000 1.53.2.11
+++ pdf_font.ps 10 Jan 2005 15:15:41 -0000 1.53.2.12
@@ -86,7 +86,16 @@
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