Inconsistent font smoothing defaults between GNOME and fontconfig
GNOME desktop defaults to grayscale-based font smoothing which is less appealing but more reliable and bug-free. Since commit 2b6afa02 fontconfig defaults to subpixel-based font smoothing (aka ClearType) which looks better on low-dpi monitors but may cause some red/green/blue shadows around letters.
While GTK-based apps follow GNOME preferences defined in GNOME's settings, there are many non-GNOME apps like Mozilla Firefox or VSCodium and other Electron apps which ignore desktop preferences and read font smoothing information directly from fontconfig.
This causes inconsistent font smoothing on my Fedora 36. F37 is probably affected too. While GNOME apps use grayscale, Firefox, my code editor and some other apps use font smoothing causing described unwanted shadows. For consistency font smoothing type should be the same in GNOME and in fontconfig.
Can we have linked commit reverted? Or should downstreams like Fedora patch GNOME or fontconfig to make font smoothing consistent?
There is downstream bug in RH bugzilla related: https://bugzilla.redhat.com/show_bug.cgi?id=2137825