Ugly fonts in Chromium (How to disable hintstyle)
Reported by
prof...@gmail.com,
Jan 10 2017
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 Steps to reproduce the problem: 1. Open page http://i.ua in Chromium 2. Open page http://i.ua in other browser (i.e. Firefox) 3. Compare fonts in title, headers, body What is the expected behavior? Fonts with hintstyle = none. My system is Arch Linux with freetype2 2.7.1-1. xrdb -q | grep -i Xft ~/.devilspie/ Xft.antialias: 1 Xft.hintstyle: hintfull Xft.rgba: none Xft.dpi: 96 What went wrong? Displaying of fonts is different. Did this work before? N/A Chrome version: 55.0.2883.87 Channel: stable OS Version: Flash Version: Shockwave Flash 23.0 r0
,
Jan 11 2017
Unable to reproduce the issue on Ubuntu 14.04 with chrome version #55.0.2883.87 Seeing the same behavior on both chrome and firefox for the given url " http://i.ua " Attaching the screenshot for your reference. Please look into it and let us know your observations. Thank You...
,
Jan 11 2017
Thanks for response! Yes, fonts in Ubuntu is similar to my chromium.png. Please pay attention to firefox.png. It's without hinting. Firefox uses settings of fonts from ~/.config/fontconfig/conf.d/fonts.conf and disable hinting. But Chromium ignores this settings. Is it possible disable the hinting in Chromium or use settings from system?
,
Jan 13 2017
,
Jan 16 2017
,
Jan 17 2017
proftua@ in order triage this issue could you please help us with the sample html test case and steps to reproduce the issue, so that we reproduce it on our end. Thank You...
,
Jan 17 2017
,
Jan 17 2017
I made some research and to my mind the issue is connected with DirectWrite. Details available here https://www.change.org/p/google-inc-bring-sharp-fonts-back-in-google-chrome-disable-directwrite To reproduce the issue on Linux (Arch linux in my case) 1. Install latest freetype 2.7.1 and you'll see blurry fonts as in my first screenshot at top (file chromium.png). By the way in other software font is sharp. Only in Chromium and other softwares that based on it (Atom, Electron, etc) fonts are blurry. 2. If I downgrade freetype to 2.6.5 or Chromium to 52 (before disabled DirectWrite) fonts are sharp. You can see it at attach.
,
Jan 17 2017
Attach ...
,
Jan 17 2017
Just compare screenshot from first post and last.
,
Jan 17 2017
Chrome does indeed ignore the setting, see bug 416407 for details.
,
Jan 18 2017
No, you are not right. This is another case. Did you read details at https://www.change.org/p/google-inc-bring-sharp-fonts-back-in-google-chrome-disable-directwrite ? BTW, I tried set up different settings (hintstyle, antialias, hinting, rgba, lcdfilter) in ~/.config/fontconfig/fonts.conf - no result. The only solution is to use old Chrome 52 or old freetype ... |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by prof...@gmail.com
, Jan 10 2017Settings in ~/.config/fontconfig/conf.d/fonts.conf <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <!-- Disable the effects of 10-hinting-slight.conf --> <match target="font"> <test name="hintstyle" compare="eq"> <const>hintslight</const> </test> <edit name="hintstyle" mode="delete"/> </match> </fontconfig>