Bug 142220
Summary: | [GTK] webkit blurs bitmap fonts ignoring fontconfig's scalable attribute | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sergey Alirzaev <zl29ah> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | bugs-noreply, clopez, mcatanzaro |
Priority: | P3 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Linux |
Sergey Alirzaev
There i have a Terminus font webkit-gtk gets horribly scaled instead of picking the glyph size a bit smaller or larger than requested: <https://dump.bitcheese.net/files/imiwoka/screenshot-webkit-gtk-bitmap-scaling.png>; while fontconfig correctly reports these fonts as non-scalable.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Sergey Alirzaev
Tried webkit-gtk-2.12.5; now it became worse: the fontconfig font picking settings are ignored altogether: https://dump.bitcheese.net/files/jisasel/screenshot-webkit-gtk-fontconfig-ignored.png
Michael Catanzaro
Nowadays we reject all bitmap fonts, so I don't think this should be an issue anymore.
(In reply to comment #1)
> Tried webkit-gtk-2.12.5; now it became worse: the fontconfig font picking
> settings are ignored altogether:
> https://dump.bitcheese.net/files/jisasel/screenshot-webkit-gtk-fontconfig-
> ignored.png
Presumably it works for scalable fonts?
I don't think we ever want to display non-scalable fonts?
Sergey Alirzaev
> Nowadays we reject all bitmap fonts, so I don't think this should be an issue anymore.
Rejecting bitmap fonts is.
I don't think there are high contrast 1000ppi displays omnipresent nowadays and vector fonts quickly degrade into unreadable blurry mess on low sizes, heavily limiting the amount of text that can fit on a display w/o compromising readability.
Is there a discussion re such a design choice?
Michael Catanzaro
See bug #31931.