https://bugs.kde.org/show_bug.cgi?id=377436
Bug ID: 377436 Summary: Non-integer scaling values are not properly propagated to force fonts DPI setting Product: KScreen Version: 5.9.3 Platform: Archlinux Packages OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: common Assignee: se...@kde.org Reporter: bugs-...@lagiewka.pl Target Milestone: --- For the entire time that I've been using HiDPI display (not so long, since december) I thought that scaling by factors different than 2 was not working for the whole desktop. Yesterday I discovered that scaling by 1.6-1.9 can be easily achieved, but still does not work out of the box. One just needs to set desired scaling factor in Kscreen kcm and proceed to font settings kcm and use Force fonts DPI to Factor x 96 DPI. Why is it a bug? When scaling by 1.5, the force fonts DPI is automatically set to 144 (1.5 x 96). When scaling by 2, the force fonts DPI is automatically set to 192 (2 x 96). When scaling by anything between 1.6 and 1.9 (I suppose 1.1-1.4 as well), the force fonts DPI setting is not set at all, thus scaling is not complete. The common thing between all of them is the fact, that when 96 is multiplied by this factor we get non integer DPI value (i.e. 163.2), which is probably not accepted by whatever is behind font settings. Tested on X11 session. Reproducible: always. Possible solutions: Take the closest integer to the multiplied value (ceiling or floor) or if not every DPI (even integer) can be accepted (I see that arrow up/down in font settings change the value by 24 which is a quarter of 96 DPI) then the closest possible DPI value should be set. -- You are receiving this mail because: You are watching all bug changes.