[gs-commits] rev 11615 - trunk/gs/Resource/Init

alexcher at ghostscript.com alexcher at ghostscript.com
Mon Aug 9 00:07:27 UTC 2010


Author: alexcher
Date: 2010-08-09 00:07:27 +0000 (Mon, 09 Aug 2010)
New Revision: 11615

Modified:
   trunk/gs/Resource/Init/pdf_ops.ps
Log:
Remove spurious "cvx" operators after .pushextendedgstate and
.popextendedgstate . Do .popextendedgstate after checking that "Q"
has a correspondingh "q". Bug 691538.


Modified: trunk/gs/Resource/Init/pdf_ops.ps
===================================================================
--- trunk/gs/Resource/Init/pdf_ops.ps	2010-08-07 15:58:08 UTC (rev 11614)
+++ trunk/gs/Resource/Init/pdf_ops.ps	2010-08-09 00:07:27 UTC (rev 11615)
@@ -92,15 +92,15 @@
 
 /q {
   gsave //nodict begin
-  PDFusingtransparency {.pushextendedgstate cvx} if
+  PDFusingtransparency { .pushextendedgstate } if
 } bdef
 
 % Some PDF files have excess Q operators!
 /Q {
-  PDFusingtransparency {.popextendedgstate cvx} if
   currentdict /self .knownget {
     exec //nodict eq {
       end
+      PDFusingtransparency { .popextendedgstate } if
       % Restore graphics state, but do not modify path. Paths are not part
       % of the PDF graphics state; see 4.4.1 of PDF reference 3rd ed.
       % Collecting the path with one ctm and re-playing it with another ctm



More information about the gs-commits mailing list