[gs-bugs] [Bug 690620] low resolution fill adjust is wrong
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Thu Dec 17 15:16:22 UTC 2009
http://bugs.ghostscript.com/show_bug.cgi?id=690620
------- Additional Comments From robin at wss.co.uk 2009-12-17 07:16 -------
Created an attachment (id=5790)
--> (http://bugs.ghostscript.com/attachment.cgi?id=5790&action=view)
patch
Updated version of henrys patch that returns patched ghostscript to only
getting rendering as wrong as unpatched ghostscript currently does.
Basically, we add an additional few lines to ensure that we don't mark the page
when the clip is truly empty.
@@ -219,6 +220,10 @@
gs_fixed_rect clip_rect;
gx_cpath_inner_box(pcpath, &clip_rect);
+ /* We should never plot anything for an empty clip rectangle */
+ if ((clip_rect.p.x >= clip_rect.q.x) &&
+ (clip_rect.p.y >= clip_rect.q.y))
+ return 0;
for (i = 0; i < count; ++i) {
gs_fixed_point p, q;
gs_fixed_rect draw_rect;
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the gs-bugs
mailing list