Bug 36182
| Summary: | fillText() function on <canvas> does not antialias small monospace text | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tom Preston-Werner <tom> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ap, mdelaney7, thorton |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac (Intel) | ||
| OS: | OS X 10.6 | ||
| URL: | http://tom.preston-werner.com/random/canvas_rotated_textfill.html | ||
Tom Preston-Werner
Overview:
Small monospace typefaces are rendered without antialiasing while other typefaces (serif, sans-serif) are antialiased at all sizes. This problem exhibits in Safari 4.0.3 and Chrome 5.0.342.3 dev. Firefox 3.5 renders the text with antialiasing as expected. See http://tom.preston-werner.com/random/canvas_rotated_textfill.html for a live demo.
Steps to reproduce:
Set ctx.font to a monospace typeface at a size of 10px or 7.5pt or smaller and use ctx.fillText() to write some text to the canvas.
Actual results:
The rendered text is not antialiased.
Expected results:
The rendered text should be properly aliased.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Tim Horton
<rdar://problem/9560516>
Alexey Proskuryakov
Duplicate of bug 4842?
Tim Horton
(In reply to comment #2)
> Duplicate of bug 4842?
Actually, the test case in 4842 looks fine to me... unquestionably all AA'd. Am I missing something there?
Tim Horton
(In reply to comment #3)
> (In reply to comment #2)
> > Duplicate of bug 4842?
>
> Actually, the test case in 4842 looks fine to me... unquestionably all AA'd. Am I missing something there?
Comments in 4842 about why I don't think they're the same bug even though I'm incapable of reading instructions.