I’ve been using EndeavourOS with the Plasma desktop for a few years now. However after a recent update, all GTK4 apps on my system (both native and flatpak apps) have poor text quality. All KDE and GTK3 apps look fine, it’s just the GTK4 apps that have the issue.
Here’s an example of what the font looks like in EasyEffects:
Also when I run /usr/lib/xdg-desktop-portal --replace it gives the following output and doesn’t automatically stop (I have to press Ctrl+C to stop it). So maybe that command isn’t working properly?
(/usr/lib/xdg-desktop-portal:5500): xdg-desktop-portal-WARNING **: 12:18:47.335: Choosing gtk.portal for org.freedesktop.impl.portal.Lockdown as a last-resort fallback
(/usr/lib/xdg-desktop-portal:5500): xdg-desktop-portal-WARNING **: 12:18:47.335: The preferred method to match portal implementations to desktop environments is to use the portals.conf(5) configuration file
(/usr/lib/xdg-desktop-portal:5500): xdg-desktop-portal-WARNING **: 12:18:47.351: Failed to create background monitor: Failed to own background monitor D-Bus name
(/usr/lib/xdg-desktop-portal:5500): xdg-desktop-portal-WARNING **: 12:18:47.351: No skeleton to export
^C
There was a video from The Linux Experiment where he showed something similar to what you’ve shown in your screenshots. Problem is, that video is anywhere between 2 weeks to 6 months ago, so I don’t remember which one AND whether it was a fix or just a demo.
It was certainly related to Wayland and text resolution, though.
Figures. Setting it to 1 just seems like a binary argument anyway, and the link is from 2020, so they probably either moved the setting or removed it entirely.
Are there some ways to improve it on KDE or is it up to the KDE team to fix?
I noticed that fonts were a bit off since I switched from Gnome recently, but couldn’t figure out a way to improve them (played around with all the font settings).
It’s technically both a KDE issue and a GTK4 issue. Either one of those groups could fix it.
KDE could add support for the way GTK4 renders fonts, or the Gnome team could add support for subpixel antialiasing. The latter is unlikely.
Ok, after updating my system today the issue seems to be fixed for native GTK4 apps! Flatpak GTK4 apps still have the issue, but I imagine that will also get the fix soon.