Open
Bug 1053210
Opened 11 years ago
Updated 3 years ago
svg antialiasing glitch at varying scales
Categories
(Core :: SVG, defect)
Tracking
()
NEW
People
(Reporter: deane, Unassigned)
Details
(Keywords: testcase)
Attachments
(7 files)
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)
| Reporter | ||
Comment 2•11 years ago
|
||
Attached the smiley face svg as shown in screenshot
Flags: needinfo?(bugzilla)
| Reporter | ||
Comment 3•11 years ago
|
||
Email icon as shown in screenshot
Comment 4•11 years ago
|
||
Can you provide/attach a reduced testcase using the already attached svg files?
Flags: needinfo?(bugzilla)
| Reporter | ||
Comment 5•11 years ago
|
||
This is a Circled A svg for use in the test case
Flags: needinfo?(bugzilla)
| Reporter | ||
Comment 6•11 years ago
|
||
Test case references icon-action-white.svg
| Reporter | ||
Comment 7•11 years ago
|
||
Screenshot of test case showing badly antialiased svg background image. Firefox 31, windows 7-64bit.
| Reporter | ||
Comment 8•11 years ago
|
||
(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.
Comment 10•11 years ago
|
||
Thanks. I can repro this back to Firefox 4. HWA on/off makes no difference (Windows 7).
FWIW, MSIE 11 faces the same issue.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•