[gs-cvs] rev 8551 - trunk/gs/src
marcos at ghostscript.com
marcos at ghostscript.com
Tue Feb 26 16:47:37 PST 2008
Author: marcos
Date: 2008-02-26 16:47:37 -0800 (Tue, 26 Feb 2008)
New Revision: 8551
Modified:
trunk/gs/src/gdevpx.c
Log:
Added setting of fill_rule in pclxl_endpath().
DETAILS:
The pclxl_endpath() function checked if a clip_rule needed to be set but not a fill_rule.
This is a fix for bug 689665.
EXPECTED DIFFERENCES:
None, pxl output isn't covered by regressions.
Modified: trunk/gs/src/gdevpx.c
===================================================================
--- trunk/gs/src/gdevpx.c 2008-02-27 00:08:22 UTC (rev 8550)
+++ trunk/gs/src/gdevpx.c 2008-02-27 00:47:37 UTC (rev 8551)
@@ -1072,6 +1072,12 @@
if (code < 0)
return code;
if (type & (gx_path_type_fill | gx_path_type_stroke)) {
+ if (rule != xdev->fill_rule) {
+ px_put_ub(s, (byte)(rule == gx_path_type_even_odd ? eEvenOdd :
+ eNonZeroWinding));
+ px_put_ac(s, pxaFillMode, pxtSetFillMode);
+ xdev->fill_rule = rule;
+ }
pclxl_set_paints(xdev, type);
spputc(s, pxtPaintPath);
}
More information about the gs-cvs
mailing list