https://bugs.kde.org/show_bug.cgi?id=442901

Steve Vialle <stev...@orcon.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stev...@orcon.net.nz
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #32 from Steve Vialle <stev...@orcon.net.nz> ---
As of plasma 5.27.0, this change breaks GTK font scaling on systems where
display DPI <96. This is most notable in firefox.

Inspecting generated ~.config/xsettingsd/xsettingsd.conf shows:
Gdk/UnscaledDPI 98304

Where 98304/1024 = 96
That's 96DPI folks, I don't know where plasma is getting it but it's flat-out
wrong on this system.

This is an  _82DPI_ display, as reported by:
X11 / GPU driver / Monitor EDID: AMDGPU(0): DPI set to (82, 82)
xdpyinfo: resolution:    82x82 dots per inch
xrdb: Xft.dpi:        82
A frickin' ruler and a calculator.
On top of that, "force fonts DPI" is set to 82 in the fonts KCM.

Setting 'Gdk/UnscaledDPI 83968' in xsettingsd.conf (1024x82) and marking that
file immutable so plasma can't screw with it restores correct font scaling in
GTK3 applications.

If plasma is going to pass this setting to xsettingsd, it should _at least_
respect the setting of "force fonts DPI" in the fonts KCM. Ideally that setting
should be entirely unnecessary anyway, as there is a perfectly good
autodetected value available from X11.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to