[gs-cvs] rev 8251 - trunk/gs/lib
alexcher at ghostscript.com
alexcher at ghostscript.com
Tue Sep 25 21:37:20 PDT 2007
Author: alexcher
Date: 2007-09-25 21:37:20 -0700 (Tue, 25 Sep 2007)
New Revision: 8251
Modified:
trunk/gs/lib/pdfopt.ps
Log:
Fix multiple inclusion of page objects in the optimized PDF file.
Extend special handling of page objects to Annots and AcroForm
object enumeration. Bug 689292, customer 932.
DIFFERENCES:
None. Raster differences (if any) between the original and optimized
PDF files on the test suite are not affected by the patch.
Modified: trunk/gs/lib/pdfopt.ps
===================================================================
--- trunk/gs/lib/pdfopt.ps 2007-09-25 13:31:24 UTC (rev 8250)
+++ trunk/gs/lib/pdfopt.ps 2007-09-26 04:37:20 UTC (rev 8251)
@@ -389,7 +389,7 @@
dup /Threads .knownget {
omforce dup //null ne { { omvisit } forall } { pop } ifelse
} if
- dup /AcroForm .knownget { omvisit } if
+ dup /AcroForm .knownget { omvisitnopage } if
pop
} visited
} bind def
@@ -433,7 +433,7 @@
exch omvisit
% Visit Annots, if any.
% We don't try to defer the drawing information.
- dup /Annots .knownget { omvisit } if
+ dup /Annots .knownget { omvisitnopage } if
% Visit beads.
dup /B .knownget { omvisit } if
% Visit resources dictionaries.
More information about the gs-cvs
mailing list