New issue
Advanced search Search tips

Issue 701198 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 687770
Owner: ----
Closed: Mar 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Font size of tabs / UI is too small

Reported by cristian...@gmail.com, Mar 14 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36

Steps to reproduce the problem:
On a computer with 1920x1080 resolutions (144x144 DPI) start Google Chrome with the parameter "--force-device-scale-factor=1.00" and notice how tiny the font size is set.

Below you have my font-config-info output:

GtkSettings:

gtk-font-name        "Noto Sans Regular 8"
gtk-xft-antialias    1 (yes)
gtk-xft-hinting      1 (yes)
gtk-xft-hintstyle    "hintfull"
gtk-xft-rgba         "[unset]"
gtk-xft-dpi          147456 (144,00 DPI)

GTK 2.0 styles:
GtkLabel             "Noto Sans 8"
GtkMenuItem          "Noto Sans 8"
GtkToolbar           "Noto Sans 8"

GSettings (org.gnome.desktop.interface):
font-name            "Noto Sans Regular 8"
text-scaling-factor  1,00

X11 display info:
screen pixels        3840x1080
screen size          677x191 mm (144,07x143,62 DPI)

X resources (xrdb):
Xft.antialias        "1"
Xft.hinting          "1"
Xft.hintstyle        "hintfull"
Xft.rgba             "rgb"
Xft.dpi              "144"

XSETTINGS:
bash: dump_xsettings: command not found
Install dump_xsettings from https://code.google.com/p/xsettingsd/
to print this information.

Fontconfig (Noto Sans 8):
requested size       8 points
family               Noto Sans
pixelsize            16,00 pixels
size                 8 points
antialias            1
hinting              1
autohint             0
embeddedbitmap       1
hintstyle            2 (medium)
rgba                 [no match]

Fontconfig (default pattern):
antialias            [no match]
hinting              1
autohint             0
embeddedbitmap       1
hintstyle            3 (full)
rgba                 [no match]

Fontconfig (default match):
family               Liberation Sans
pixelsize            24,00 pixels
size                 12 points
antialias            1
hinting              1
autohint             0
embeddedbitmap       1
hintstyle            2 (medium)
rgba                 [no match]

Fontconfig (non-family/size defaults):
antialias            1
hinting              1
autohint             0
embeddedbitmap       1
hintstyle            2 (medium)
rgba                 [no match]

What is the expected behavior?
Chrome should respect what default desktop environment font size has set as default.

What went wrong?
Google Chrome ignores the DPI setting that I tried to set in ~/.Xdefaults or ~/.font.conf.

Google Chrome ignores the GTK default font size (or KDE setting for that matter).

Did this work before? N/A 

Chrome version: 57.0.2987.98  Channel: stable
OS Version: KDE Neon
Flash Version: 

I ran the same version of Google Chrome, with the same "--force-device-scale-factor=1.00" parameter on Windows 10 and there it looks OK. 

I expect the same behavior on Linux.
 
google_chrome_linux.png
185 KB View Download
google_chrome_windows.png
130 KB View Download
Labels: Needs-Triage-M57
Google Chrome does respect the font size in ~/.gtkrc-2.0 file. But as it turns out it differs than other GTK applications and "Noto Sans Regular 8" is being rendered way too small.

Knowing this I created a gtkrc file for Google Chrome and used "GTK2_RC_FILES=/home/cadam/.gtkrc-2.0-google-chrome /usr/bin/google-chrome-stable %U --force-device-scale-factor=1.0" to start Google Chrome.

In the ~/.gtkrc-2.0-google-chrome I used "Noto Sans Regular 11", which looks  way better as seen in the attached screenshot.
google_chrome_linux_fixed.png
218 KB View Download
Mergedinto: 687770
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment