[gs-cvs] rev 8846 - trunk/gs/src
giles at ghostscript.com
giles at ghostscript.com
Wed Jul 16 19:34:02 PDT 2008
Author: giles
Date: 2008-07-16 19:34:01 -0700 (Wed, 16 Jul 2008)
New Revision: 8846
Modified:
trunk/gs/src/gdevpng.c
Log:
Write pure white as a background in the pngalpha device. Bug 689934.
Details:
Russell Lang reports this caused problems originally, but it seems to
work now, so reverting the behaviour per his request.
Modified: trunk/gs/src/gdevpng.c
===================================================================
--- trunk/gs/src/gdevpng.c 2008-07-16 17:19:29 UTC (rev 8845)
+++ trunk/gs/src/gdevpng.c 2008-07-17 02:34:01 UTC (rev 8846)
@@ -543,7 +543,7 @@
if ((color == 0xffffff00) && (x==0) && (y==0)
&& (w==dev->width) && (h==dev->height)) {
/* If filling whole page with white, make it transparent */
- return pdev->orig_fill_rectangle(dev, x, y, w, h, 0xfefefeff);
+ return pdev->orig_fill_rectangle(dev, x, y, w, h, 0xffffffff);
}
return pdev->orig_fill_rectangle(dev, x, y, w, h, color);
}
More information about the gs-cvs
mailing list