Open Bug 1335613 Opened 7 years ago Updated 2 years ago

SVG rendering bug -- weird pixels in antialiasing

Categories

(Core :: SVG, defect, P3)

50 Branch
x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: bart, Unassigned)

Details

Attachments

(1 file)

Attached image render-bug.svg
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Build ID: 20161114144739

Steps to reproduce:

View the attached SVG in Firefox at various zoom levels.


Actual results:

Some pixels in the greyscale areas, where Firefox is trying to antialias the shapes since they don't fall on exact pixels, have a very wrong colour.

See https://i.imgur.com/w6i1dFE.png for screenshots -- Firefox 50 on Linux above, Chrome below.

Zoomed in to 8x with nearest-neighbour: https://i.imgur.com/MvlYIMA.png

All five zoom levels in Firefox exhibit the bug, though it's most obvious in the 200% view (top right).


Expected results:

Smooth sharp lines, though obviously with some anti-aliasing, like the results in Chrome.

The SVG renders fine in the Gnome image viewer, in Inkscape, and in Chrome.
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Component: Untriaged → SVG
Product: Firefox → Core
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: