Closed
Bug 794347
Opened 13 years ago
Closed 13 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•13 years ago
|
Attachment #664808 -
Flags: review?(longsonr) → review+
| Assignee | ||
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 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
•