[cairo] Draw a rectangle with dash lines
cworth at cworth.org
Sat Feb 3 07:34:22 PST 2007
On Sat, 3 Feb 2007 00:27:18 -0600, "ken carlino" wrote:
> It works in some cases, but in some cases, I see a rect with dash
> lines and a filled triangle which covers half of the rect (from one
> top corner to another bottom corner).
This is a fairly long-standing, (and very embarrassing), known bug.
Matthias Clasen first reported the bug sometime after the 1.0 release:
stroking problems with wide dashed lines
And we added a test case for this to cairo's test suite, (leaky-dash).
It's obviously a quite nasty bug, (a drawing error that is effectively
"infinite"). And before the 1.2 release we tried making all test suite
failures go away.
This one though, we didn't have time to fix. So we made a conscious
decision to release in spite of the known bug, (one comforting thing
was that we at least hadn't seen a lot of duplicate reports).
Anyway, here I am caught with a duplicate report just before the 1.4
release, and we still don't have the bug fixed.
If somebody wanted to try to track this down that would be very
helpful. The way these kinds of bugs usually go is that there's a fair
amount of work looking into exactly what happens. But once that work
is done, actually fixing the bug isn't actually that hard.
So, I've never gotten around to the investigation part, but if someone
else could help with this, that would be great.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070203/c0ab6459/attachment.pgp
More information about the cairo