[Webkit-unassigned] [Bug 73173] fillText() and strokeText() handle fractional pixel values differently
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 18 14:10:56 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=73173
Brent Fulgham <bfulgham at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bfulgham at webkit.org,
| |webkit-bug-importer at group.a
| |pple.com
--- Comment #3 from Brent Fulgham <bfulgham at webkit.org> ---
There does seem to be some variation in line thickness around the edges of the letter. These also appear in Chrome and Firefox.
c.clearRect(0,+0,+640,+480);
c.save();
try {
c.strokeStyle = 'black';
c.fillStyle = 'yellow';
c.lineWidth = 3;
c.font = '50px monospace';
var f = (new Date() % 10) / 10;
c.strokeText('TEST', 100, 100 + f);
c.fillText('TEST', 100, 100 + f);
} finally {
c.restore();
}
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220718/5b9c67e7/attachment.htm>
More information about the webkit-unassigned
mailing list