[gs-cvs] rev 8565 - trunk/gs/src

ray at ghostscript.com ray at ghostscript.com
Fri Feb 29 15:59:31 PST 2008


Author: ray
Date: 2008-02-29 15:59:31 -0800 (Fri, 29 Feb 2008)
New Revision: 8565

Modified:
   trunk/gs/src/gdevpdfi.c
Log:
Fix typo that caused unbalanced 'q' 'Q' operators in PDF's (caused by
rev 8501). Bug 689728.

EXPECTED DIFFERENCES:

None.


Modified: trunk/gs/src/gdevpdfi.c
===================================================================
--- trunk/gs/src/gdevpdfi.c	2008-02-29 22:27:59 UTC (rev 8564)
+++ trunk/gs/src/gdevpdfi.c	2008-02-29 23:59:31 UTC (rev 8565)
@@ -1380,7 +1380,7 @@
 	    if (code < 0)
 		return code;
 	    /* Scale the coordinate system, because object handlers assume so. See none_to_stream. */
-	    pprintg2(pdev->strm, "q %g 0 0 %g 0 0 cm\n",
+	    pprintg2(pdev->strm, "%g 0 0 %g 0 0 cm\n",
 		     72.0 / pdev->HWResolution[0], 72.0 / pdev->HWResolution[1]);
 	    return 1;
 	case pattern_manage__finish_accum:



More information about the gs-cvs mailing list