[gs-cvs] rev 8787 - trunk/gs/lib
alexcher at ghostscript.com
alexcher at ghostscript.com
Fri May 30 17:57:35 PDT 2008
Author: alexcher
Date: 2008-05-30 17:57:34 -0700 (Fri, 30 May 2008)
New Revision: 8787
Modified:
trunk/gs/lib/pdf_base.ps
Log:
Add work-around for PDF files that misspell 'endobj' as 'endjobj'. Bug 689876.
DIFFERENCES:
None
Modified: trunk/gs/lib/pdf_base.ps
===================================================================
--- trunk/gs/lib/pdf_base.ps 2008-05-30 20:25:17 UTC (rev 8786)
+++ trunk/gs/lib/pdf_base.ps 2008-05-31 00:57:34 UTC (rev 8787)
@@ -705,6 +705,10 @@
valueopdict { } forall
/endstream { endobj exit } bind
/endobj { endobj exit } bind
+ /endjobj { % Bug 689876.
+ ( **** Operator 'endobj' is misspelled as 'endjobj'.\n) pdfformaterror
+ endobj exit
+ } bind
% OmniForm generates PDF file with endobj missing in some
% objects. AR ignores this. So we have to do it too.
/obj { pop pop endobj exit } bind
More information about the gs-cvs
mailing list