Closed
Bug 794347
Opened 12 years ago
Closed 12 years ago
tweak text-layout-01.svg to avoid rounding issue when pixel snapping
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: heycam, Assigned: heycam)
References
Details
Attachments
(1 file)
1.38 KB,
patch
|
longsonr
:
review+
|
Details | Diff | Splinter Review |
With the new bug 655877 text frames, the rotated "A" character from text-layout-01.svg is rendered one pixel away from where it was before. I tracked this down to numerical accuracy due to rotations being stored as floats, resulting in a slightly-off-integer pixel value which we then snap to a different pixel boundary. This patch just avoids this by using a non-90 degree rotation in the test.
Attachment #664808 -
Flags: review?(longsonr)
Updated•12 years ago
|
Attachment #664808 -
Flags: review?(longsonr) → review+
Assignee | ||
Comment 1•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/04f739fbc190
Comment 2•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/04f739fbc190
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•