[gs-commits] (xefitra) rev 10489 - trunk/gs/Resource/Init

alexcher at ghostscript.com alexcher at ghostscript.com
Fri Dec 11 19:18:57 UTC 2009


Author: alexcher
Date: 2009-12-11 19:18:57 +0000 (Fri, 11 Dec 2009)
New Revision: 10489

Modified:
   trunk/gs/Resource/Init/pdf_draw.ps
Log:
Fix incorrect calculation of the operand stack base (pdfemptycount) in PDF
interpreter, which caused incorrect processing of scn operator. Bug 690977.

DIFFERENCES:
None.


Modified: trunk/gs/Resource/Init/pdf_draw.ps
===================================================================
--- trunk/gs/Resource/Init/pdf_draw.ps	2009-12-11 07:10:25 UTC (rev 10488)
+++ trunk/gs/Resource/Init/pdf_draw.ps	2009-12-11 19:18:57 UTC (rev 10489)
@@ -1460,7 +1460,7 @@
   ] cvx /PaintProc exch put
     % Adjust pdfemptycount since we have an extra dictionary on the stack
   pdfemptycount countdictstack  3 -1 roll
-  /pdfemptycount count 1 sub store
+  /pdfemptycount count 2 sub store
   q execform  			% gsave / grestore around the Form
     % Restore pdfemptycount
   countdictstack exch sub



More information about the gs-commits mailing list