RESOLVED INVALID31640
[CAIRO] Fails to paint solid outlines
https://bugs.webkit.org/show_bug.cgi?id=31640
Summary [CAIRO] Fails to paint solid outlines
Gustavo Noronha (kov)
Reported 2009-11-18 12:46:31 PST
Summary says it all. I was able to track this down to a Cairo xlib backend bug, in fact, but we may want to work this around somehow. See: https://bugs.freedesktop.org/show_bug.cgi?id=25167 Commenting this line in GraphicsContextCairo.cpp::drawConvexPolygon makes it work: cairo_set_antialias(cr, shouldAntialias ? CAIRO_ANTIALIAS_DEFAULT : CAIRO_ANTIALIAS_NONE); I am not sure win32 cairo suffers from this. I would bet not.
Attachments
test case (209 bytes, text/html)
2009-11-18 12:48 PST, Gustavo Noronha (kov)
no flags
expected rendering (10.64 KB, image/png)
2009-11-18 12:48 PST, Gustavo Noronha (kov)
no flags
Gustavo Noronha (kov)
Comment 1 2009-11-18 12:48:22 PST
Created attachment 43450 [details] test case
Gustavo Noronha (kov)
Comment 2 2009-11-18 12:48:47 PST
Created attachment 43451 [details] expected rendering
Benjamin Otte
Comment 3 2009-11-18 13:01:40 PST
It works here, but I'm not exactly on master here. What cairo version is that? And your rendering is just the same only without the big black box?
Dirk Schulze
Comment 4 2009-11-18 13:08:23 PST
Also works for me. Cairo 1.8.8 here.
Gustavo Noronha (kov)
Comment 5 2009-11-19 03:21:10 PST
(In reply to comment #3) > It works here, but I'm not exactly on master here. > What cairo version is that? 1.9.2. I have now tried with 1.9.4, and 1.8.8 with the same problem. May be related to my version of X, perhaps, or of pixman? > And your rendering is just the same only without the big black box? Exactly.
Gustavo Noronha (kov)
Comment 6 2009-11-19 03:39:22 PST
Interestingly, the problem does not happen when I run GtkLauncher inside Xephyr, so hrm.
Martin Robinson
Comment 7 2011-02-11 15:55:43 PST
Are you still seeing this issue?
Gustavo Noronha (kov)
Comment 8 2011-03-15 10:31:22 PDT
(In reply to comment #7) > Are you still seeing this issue? No, might have been fixed by an X/cairo upgrade, so I'll close it =)
Note You need to log in before you can comment on or make changes to this bug.