Open Bug 1053210 Opened 11 years ago Updated 3 years ago

svg antialiasing glitch at varying scales

Categories

(Core :: SVG, defect)

x86_64
Windows 7
defect

Tracking

()

People

(Reporter: deane, Unassigned)

Details

(Keywords: testcase)

Attachments

(7 files)

Attached image bad-antialiasing.png
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release) Build ID: 20140716183446 Steps to reproduce: I have an svg set as the background of a table cell, the svg width and height are set to 100% with preserveAspectRatio="xMidyMid meet" (also does the same without these parameters). The background-size is 2rem 2rem; The page is scaled using rems, initially with the font size at 62.5%, but then reduced to less. At 62.5% (full size of my design) the svg looks fine, but sizes smaller than this, the antialising becomes inaccurate. Actual results: Scaling the page down by reducing the base font size to less than 62.5% results in glitches in the antialiasing. See attached image. image contains a small (glitchy) version, a slightly less glitchy version at a larger scale, and then the version at the 62.% font-size that renders accurately. Expected results: SVG should scale down smoothly and uniformly, without parts of lines missing or being smudged.
Please, could you attach the svg to the bug.
Flags: needinfo?(bugzilla)
Attached image Smiley face svg
Attached the smiley face svg as shown in screenshot
Flags: needinfo?(bugzilla)
Attached image Email icon
Email icon as shown in screenshot
Component: Untriaged → SVG
Product: Firefox → Core
Can you provide/attach a reduced testcase using the already attached svg files?
Flags: needinfo?(bugzilla)
This is a Circled A svg for use in the test case
Flags: needinfo?(bugzilla)
Test case references icon-action-white.svg
Attached image Test case screenshot
Screenshot of test case showing badly antialiased svg background image. Firefox 31, windows 7-64bit.
(In reply to XtC4UaLL [:xtc4uall] from comment #4) > Can you provide/attach a reduced testcase using the already attached svg > files? Test case added in comments.
Thanks. I can repro this back to Firefox 4. HWA on/off makes no difference (Windows 7). FWIW, MSIE 11 faces the same issue.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Version: 31 Branch → Trunk
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: