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

--- Comment #22 from nyanpasu64 <nyanpas...@tuta.io> ---
Created attachment 135435
  --> https://bugs.kde.org/attachment.cgi?id=135435&action=edit
Output of "fc-match -v" (unchanged under None vs. RGB)

> Qt apps running on Plasma have their text rendered using gray-scale (tested 
> with Dolphin and VLC), while GTK3 apps (also running on Plasma) have their 
> text rendered with RGB anti-aliasing (tested with Simple-scan).

I observed the same bug, with the added property that Firefox (and most likely
GTK3 apps as well) doesn't turn on LCD filtering, resulting in prominent color
fringes on vertical text edges.
If I set KDE to grayscale antialiasing, both Qt and GTK apps (including
Firefox) use grayscale properly.

Clicking Apply in KDE's font settings writes to the file
"~/.config/fontconfig/fonts.conf". Bafflingly, the file written is identical
whether you pick None (grayscale) or RGB in the KDE settings. So I don't know
how GTK even picks up a change in subpixel rendering.

The output of "fc-match -v" is identical whether run from gnome-terminal or
alacritty (didn't test Konsole), whether KDE is set to None or RGB (which
changes the appearance of gnome-terminal). So I don't know why GNOME app
rendering (including gnome-terminal) changes when I change KDE settings, when
the fontconfig rules aren't changed.

----

I've encountered this issue on Arch Linux (unsure which Plasma version). I
"fixed" the issue by adding a system-wide (or user-wide) fontconfig XML rule to
manually set rgba to rgb and lcdfilter to lcddefault
(https://wiki.archlinux.org/index.php/font_configuration#Pixel_alignment).
Recently I switched to Garuda Linux (an Arch-based ricer distro with new and
exciting bugs) and Plasma 5.20.5, and the bug is back.

----

I suspect https://bugs.kde.org/show_bug.cgi?id=416140 may be related to this
bug. It describes similar symptoms, but was reported in 2020 January (months
before I encountered a similar issue). And that bug report also has some
commonalities with my experience written above:

> Even if sub-pixel rendering is enabled, there's no trace of this setting in 
> ~/.config/fontconfig/fonts.conf
> If i create a symlink in /etc/fonts/conf.d to 
> /etc/fonts/conf.avail/10-sub-pixel-rgb.conf, fonts improve a lot.

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

Reply via email to