New issue
Advanced search Search tips

Issue 679811 link

Starred by 0 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Ugly fonts in Chromium (How to disable hintstyle)

Reported by prof...@gmail.com, Jan 10 2017

Issue description

UserAgent: 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
 
chromium.png
39.9 KB View Download
firefox.png
25.4 KB View Download

Comment 1 by prof...@gmail.com, Jan 10 2017

Settings 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>

Cc: kkaluri@chromium.org
Labels: Needs-Feedback
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...


Issue 679811-Chrome.png
111 KB View Download
Issue 679811-FireFox.png
207 KB View Download

Comment 3 by prof...@gmail.com, 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?
Labels: -Needs-Feedback Needs-Triage-M55
Components: Blink>Fonts
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...
Labels: Needs-Feedback

Comment 8 by prof...@gmail.com, 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.

Comment 9 by prof...@gmail.com, Jan 17 2017

Attach ... 
chromium2.png
24.4 KB View Download

Comment 10 by prof...@gmail.com, Jan 17 2017

Just compare screenshot from first post and last. 

Comment 11 by e...@chromium.org, Jan 17 2017

Status: WontFix (was: Unconfirmed)
Chrome does indeed ignore the setting, see bug 416407 for details.

Comment 12 by prof...@gmail.com, 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