Open
Bug 489776
Opened 16 years ago
Updated 2 years ago
Clipping produces a bogus fringe effect
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
NEW
People
(Reporter: jwatt, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
|
653 bytes,
image/svg+xml
|
Details |
Clipping produces a bogus fringe effect.
| Reporter | ||
Comment 1•16 years ago
|
||
| Reporter | ||
Comment 2•16 years ago
|
||
Ignore the comment in the desc. I forgot to remove that.
Comment 3•16 years ago
|
||
Fixed by bug 489718 perhaps?
With bug 489718, authors could specify "crispEdges" to work around this bug, but it doesn't really fix this bug.
This is fundamental to the way cairo does clipping to non-pixel-aligned-rectangles --- setting up a mask surface with partial alpha values and applying that mask to each drawing operation individually. Not only does that lead to artifacts like in this bug, it's also incredibly slow.
As long as we're stuck with coverage-based AA, I think the best we can do is to use PushGroup to group together all components of a clipped element so that the clipping mask is applied just once. That would fix this bug and improve performance a lot when a complicated group is clipped.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•