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

--- Comment #46 from Ilya Fedin <fedin-ilja2...@ya.ru> ---
>  to the point it's making me prefer no scaling at all - that's how 
> annoying/headache-inducing those blurry fonts are for me

Yeah, I tried to disable scaling too and was shocked how much better font
rendering became to me. After that, I made a hand-made text (DPI) scaling. It's
sad the option was removed from system settings UI, it's perfect for my single
screen use case. So I did the following:
1. Set QT_ENABLE_HIGHDPI_SCALING=0
2. Set QT_FONT_DPI=the DPI you want (I use 136, that's 96*1.42 - my font
becomes way better rendered since this value, with standard 10pt size)
3. Added into ~/.config/kded5rc
[Module-gtkconfig]
autoload=false

This disables updating GTK settings - to override them:
4. Xft/DPI and Gdk/UnscaledDPI in ~/.config/xsettingsd/xsettingsd.conf - the
DPI you want * 1024 (139264 in my case)
5. /org/gnome/desktop/interface/text-scaling-factor on dconf - the scale factor
you want (1.42 in my case)
6. Create an autostart entry with bash -c 'echo Xft.dpi: the DPI you want |
xrdb -merge'

kde-gtk-config also sets the DPI into ~/.config/gtk-4.0/settings.ini,
~/.config/gtk-3.0/settings.ini, ~/.gtkrc-2.0 but I haven't changed them cause
they get overridden by xsettingsd anyway

This has improved not only Qt apps for me but also firefox.

> That's why I wanted to ask if there's an issue/bug reported on QT side to 
> track this.

Look at the URL field of the bug report, it has
https://bugreports.qt.io/browse/QTBUG-129731. It seem to even have a patch in
review but then they say in it they're going to re-introduce text rendering
artifacts on scaled screens if the primary screen is unscaled to fix hinting on
the unscaled one, as a trade-off. 😭

The Qt bug tracker also has another report:
https://bugreports.qt.io/browse/QTBUG-128874. The difference between those seem
to be that the first is perceived by Qt devs as "fixing the hinting only on
unscaled screens" while this one "fixing the hinting on all screens".

That's only the newest ones, though. The Qt bugtracker has lots of older ones
but it's not easy to find them straight away.

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

Reply via email to