[gs-cvs] rev 8736 - trunk/gs/src
giles at ghostscript.com
giles at ghostscript.com
Thu May 15 14:24:11 PDT 2008
Author: giles
Date: 2008-05-15 14:24:11 -0700 (Thu, 15 May 2008)
New Revision: 8736
Modified:
trunk/gs/src/gdevsvg.c
Log:
Be explicit about clearing the current fill or stroke color when
none is set.
Modified: trunk/gs/src/gdevsvg.c
===================================================================
--- trunk/gs/src/gdevsvg.c 2008-05-15 16:17:48 UTC (rev 8735)
+++ trunk/gs/src/gdevsvg.c 2008-05-15 21:24:11 UTC (rev 8736)
@@ -478,6 +478,8 @@
svg_write(svg, " stroke='");
svg_write(svg, svg->strokecolor);
svg_write(svg, "'");
+ } else {
+ svg_write(svg, " stroke='none'");
}
svg_write(svg, ">\n");
svg->mark = 1;
@@ -511,6 +513,8 @@
svg_write(svg, " fill='");
svg_write(svg, svg->fillcolor);
svg_write(svg, "'");
+ } else {
+ svg_write(svg, " fill='none'");
}
svg_write(svg, " stroke='");
svg_write(svg, stroke);
More information about the gs-cvs
mailing list