[gs-cvs] rev 9577 - trunk/gs/base

ken at ghostscript.com ken at ghostscript.com
Fri Mar 20 01:26:51 PDT 2009


Author: ken
Date: 2009-03-20 01:26:50 -0700 (Fri, 20 Mar 2009)
New Revision: 9577

Modified:
   trunk/gs/base/gdevpsu.c
Log:
Fix (pswrite) : extra '%' output in DSC comment

Details:
bug #690347 "pswrite device generates %%%%BeginPageSetup"

Revision 9396 moved the emission of the %%PageBoundingBox comment, but due to an
oversight caused the %%BeginPageSetup comment to be emitted with too may '%' characters.

Expected Differences
None


Modified: trunk/gs/base/gdevpsu.c
===================================================================
--- trunk/gs/base/gdevpsu.c	2009-03-19 21:19:31 UTC (rev 9576)
+++ trunk/gs/base/gdevpsu.c	2009-03-20 08:26:50 UTC (rev 9577)
@@ -288,7 +288,7 @@
     if (!pdpc->ProduceEPS)
 	pprintld2(s, "%%%%PageBoundingBox: 0 0 %ld %ld\n", width, height);
 
-    stream_puts(s, "%%%%BeginPageSetup\n");
+    stream_puts(s, "%%BeginPageSetup\n");
     /*
      * Adobe's documentation says that page setup must be placed outside the
      * save/restore that encapsulates the page contents, and that the



More information about the gs-cvs mailing list