You are not logged in.
After a recent update, certain X applications, at least those based on GTK+ 3 don't respect the DPI setting anymore:
$ xdpyinfo | grep -B2 resolution
screen #0:
dimensions: 2880x1620 pixels (381x214 millimeters)
resolution: 192x192 dots per inch
The result is tiny fonts, for example in the EMACS menu bar.
What has changed? How do I get GTK+ 3 applications respect the DPI settings?
I know that one can scale GTK+ 3 UI elements by adjusting the environment variables GDK_SCALE and GDK_DPI_SCALE. However, for getting correct font size that should not be necessary, at least in the past it was not necessary.
Offline
https://bbs.archlinux.org/post.php?tid=204823 is relevant but contains no solutions.
Offline
https://bbs.archlinux.org/post.php?tid=204823 is relevant but contains no solutions.
Thanks for the link, but I don't think it is related:
$ xrdb -query | grep dpi
xft.dpi: 192
$ xdpyinfo | grep -B2 resolution
screen #0:
dimensions: 2880x1620 pixels (381x214 millimeters)
resolution: 192x192 dots per inch
$ xrandr | grep mm
eDP1 connected 2880x1620+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
Although the DPI value does not match, in all cases it's close to 200. Yet fonts are rendered as if the screen had a resolution of 96 DPI, i.e. they appear tiny.
Could this be a Freetype issue? How can I log which resolution Freetype sees?
Offline