Bug 75927 - Monospace text at 10px and under is unreadable
Summary: Monospace text at 10px and under is unreadable
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Normal
Assignee: Nobody
URL: http://jsfiddle.net/lachlan/JYb8H/
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-09 18:58 PST by Lachlan
Modified: 2012-01-09 22:49 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lachlan 2012-01-09 18:58:32 PST
The second line is unreadable, the text is missing many horizontal and vertical lines of pixels.

Screenshot: http://i.imgur.com/8EBF8.png

Happens on monospaced fonts at or under 10px.

The CSS attribute -webkit-font-smoothing does not fix this.

Setting any value of -webkit-text-stroke fixes this error. In the example I set a stroke width of 0.01px, enough to hide the stroke but fix the text.

Exists on latest webkit nightly (r104486)
Comment 1 Alexey Proskuryakov 2012-01-09 22:11:05 PST
Looks good to me on Mac OS X 10.7.2.

This looks more like a fonts issue than a WebKit one. Perhaps just broken data in font cache?
Comment 2 Lachlan 2012-01-09 22:41:59 PST
Cleared my font cache, rebooted, still looks broken in Chrome & Safari.

Firefox 9 and Opera 11 both render fine.

Just tested on Chrome on a separate PC running OS X 10.6.8, also broken.

Maybe a Snow Leopard issue?
Comment 3 mitz 2012-01-09 22:43:11 PST
What happens if you copy the text from Safari and past it into TextEdit?
Comment 4 Lachlan 2012-01-09 22:46:41 PST
When copying the text from Safari into TextEdit, the second and fourth lines are broken.

Screenshot: http://i.imgur.com/zG4YB.png
Comment 5 mitz 2012-01-09 22:49:21 PST
This doesn’t look like a WebKit issue, then.