Bug 142220 - [GTK] webkit blurs bitmap fonts ignoring fontconfig's scalable attribute
Summary: [GTK] webkit blurs bitmap fonts ignoring fontconfig's scalable attribute
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-03 09:34 PST by Sergey Alirzaev
Modified: 2017-03-06 14:39 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Alirzaev 2015-03-03 09:34:06 PST
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.
Comment 1 Sergey Alirzaev 2016-10-13 04:42:52 PDT
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
Comment 2 Michael Catanzaro 2017-03-06 13:35:18 PST
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?
Comment 3 Sergey Alirzaev 2017-03-06 13:46:34 PST
> 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?
Comment 4 Michael Catanzaro 2017-03-06 14:39:17 PST
See bug #31931.