Open Bug 489776 Opened 16 years ago Updated 2 years ago

Clipping produces a bogus fringe effect

Categories

(Core :: SVG, defect)

defect

Tracking

()

People

(Reporter: jwatt, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

Clipping produces a bogus fringe effect.
Ignore the comment in the desc. I forgot to remove that.
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.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: