[gs-cvs] rev 9390 - trunk/gs/lib

alexcher at ghostscript.com alexcher at ghostscript.com
Fri Jan 23 11:04:40 PST 2009


Author: alexcher
Date: 2009-01-23 11:04:40 -0800 (Fri, 23 Jan 2009)
New Revision: 9390

Modified:
   trunk/gs/lib/pdfopt.ps
Log:
Continue the the fix from rev. 9384, plug 2 more ways that caused multiple
inclusion of page objects into the linearized file. Bug 690140, customer 932.

DIFFERENCES:
None, not covered by the test.


Modified: trunk/gs/lib/pdfopt.ps
===================================================================
--- trunk/gs/lib/pdfopt.ps	2009-01-23 03:10:05 UTC (rev 9389)
+++ trunk/gs/lib/pdfopt.ps	2009-01-23 19:04:40 UTC (rev 9390)
@@ -387,7 +387,7 @@
     dup /OpenAction .knownget { omvisitnopage } if
     Trailer /Encrypt .knownget { omvisit } if
     dup /Threads .knownget {
-        omforce dup //null ne { { omvisit } forall } { pop } ifelse
+        omforce dup //null ne { { omvisitnopage } forall } { pop } ifelse
     } if
     dup /AcroForm .knownget { omvisitnopage } if
     pop
@@ -430,7 +430,7 @@
     omforce
 		% Stack: pageobj# extra page
 		% Visit any extra objects if applicable.
-    exch omvisit
+    exch omvisitnopage
 		% Visit Annots, if any.
 		% We don't try to defer the drawing information.
     dup /Annots .knownget { omvisitnopage } if



More information about the gs-cvs mailing list