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

alexcher at ghostscript.com alexcher at ghostscript.com
Sun Oct 28 16:33:59 PDT 2007


Author: alexcher
Date: 2007-10-28 16:33:59 -0700 (Sun, 28 Oct 2007)
New Revision: 8331

Modified:
   trunk/gs/lib/pdf_main.ps
   trunk/gs/lib/pdf_ops.ps
Log:
Move "true .setaccuratecurves" to the PDF graphic state initialization
where it belongs. This fix enables accurate curve rendering by GSview
doesn't use some parts of Ghostscript startup code. Bug 688434.

DIFFERENCES:
None.


Modified: trunk/gs/lib/pdf_main.ps
===================================================================
--- trunk/gs/lib/pdf_main.ps	2007-10-28 18:22:29 UTC (rev 8330)
+++ trunk/gs/lib/pdf_main.ps	2007-10-28 23:33:59 UTC (rev 8331)
@@ -175,15 +175,13 @@
 } bind def
 
 /dopdfpages {   % firstpage# lastpage# dopdfpages -
-  << /PDFScanRules true >> setuserparams	% set scanning rules for PDF vs. PS
-  true .setaccuratecurves			% unlike PS, PDF seems to need this
+  << /PDFScanRules //true >> setuserparams	% set scanning rules for PDF vs. PS
   1 exch
     { dup /Page# exch store
       QUIET not { (Page ) print dup == flush } if
       pdfgetpage pdfshowpage
     } for
-  false .setaccuratecurves			% restore accuratecurves behaviour
-  << /PDFScanRules null >> setuserparams	% restore scanning rules for PS
+  << /PDFScanRules //null >> setuserparams	% restore scanning rules for PS
 } bind def
 
 /runpdfend {

Modified: trunk/gs/lib/pdf_ops.ps
===================================================================
--- trunk/gs/lib/pdf_ops.ps	2007-10-28 18:22:29 UTC (rev 8330)
+++ trunk/gs/lib/pdf_ops.ps	2007-10-28 23:33:59 UTC (rev 8331)
@@ -78,6 +78,7 @@
 
 /graphicsbeginpage {
   initgraphics
+  //true .setaccuratecurves
   currentdict /ClipRect knownoget { aload pop rectclip } if
   0 g  0 G  false op  false OP  0 OPM
   1 ca  1 CA  null SMask  false AIS  /Compatible BM  true TK



More information about the gs-cvs mailing list