Bug 142220

Summary: [GTK] webkit blurs bitmap fonts ignoring fontconfig's scalable attribute
Product: WebKit Reporter: Sergey Alirzaev <zl29ah>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bugs-noreply, clopez, mcatanzaro
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   

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.