[Webkit-unassigned] [Bug 73173] New: fillText() and strokeText() handle fractional pixel values differently
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Nov 27 12:25:51 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=73173
Summary: fillText() and strokeText() handle fractional pixel
values differently
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Canvas
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ian at hixie.ch
CC: mdelaney at apple.com
TESTCASE DEMO: http://goo.gl/eIqkB
EXPECTED RESULTS
The relative thickness of the black outline on either side of the text should be the same above and below the text regardless of the y coordinate.
ACTUAL RESULTS
(Tested with stable Chrome on Mac.)
The stroke seems to be drawn at the fractional position, but the fill seems to be snapped to a pixel boundary. I don't mind the snapping, but it should happen for both stroke and fill if it happens for either. Otherwise, if you have some animated text with both a stroke and a fill, the text outline will appear to slide around independent of the fill.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list