[cairo-bugs] [Bug 84115] Broken line drawing with cairo graphics using SNA and UXA

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 19 23:21:56 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84115

--- Comment #3 from Chris Wilson <chris at chris-wilson.co.uk> ---
To demonstrate the problematic path:

diff --git a/src/cairo-traps-compositor.c b/src/cairo-traps-compositor.c
index 3414fc2..9618e5d 100644
--- a/src/cairo-traps-compositor.c
+++ b/src/cairo-traps-compositor.c
@@ -2188,7 +2188,7 @@ _cairo_traps_compositor_stroke (const cairo_compositor_t
*_compositor,
        composite_traps_info_t info;
        unsigned flags;

-       if (antialias == CAIRO_ANTIALIAS_BEST || antialias ==
CAIRO_ANTIALIAS_GOOD) {
+       if (antialias == CAIRO_ANTIALIAS_BEST || antialias ==
CAIRO_ANTIALIAS_GOOD || 1) {
            func = _cairo_path_fixed_stroke_polygon_to_traps;
            flags = 0;
        } else {


i.e. _cairo_path_fixed_stroke_to_traps() is not precise enough.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20140920/9b71ce56/attachment.html>


More information about the cairo-bugs mailing list