Announcement

Collapse
No announcement yet.

Font rendering issues in Firefox (and GTK apps)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [System] Font rendering issues in Firefox (and GTK apps)

    Firefox - and all GTK apps in general - seem to ignore the KDE sub-pixel rendering settings, and fontconfig on Wayland. GTK apps use grayscale font rendering instead, resulting in a noticeably worse experience making all fonts seems fuzzier and blurrier at the same time compared to how crisp they appear in Cinnamon (presumably Gnome too). Screenshots for comparison: https://imgur.com/a/H8h1Oeb

    After hours of trying to fix this I found that gsettings is forcing grayscale by default:

    gsettings list-recursively | grep alias

    Changing that to rgba does help a bit:

    gsettings set org.gnome.desktop.interface font-antialiasing rgba

    But this only affects some GTK apps, and in case of Firefox it only changes grayscale rendering to rgb for some websites. Many others, like Reddit for example or even this forum, are still stuck at using grayscale even with this settings. Sites, that do render properly with rgb sub-pixel rendering under Cinnamon.


    Is there any way to fix this properly, and to ensure proper rgb sub-pixel rendering is used under Wayland?

    #2
    Question, are you using the default install (snaps) of Firefox?
    Challenges are what that keeps us from the borderline of boredom in life's journey. Linux user no. 419401 currently running Kubuntu 24.04
    _______________________________________________
    Current System: Beelink Mini PC, AMD Ryzen 7 5800H 8 Core(Up to 4.4GHz), 32GB DDR4 RAM 1TB NVME M.2 SSD, SER5 MAX Mini Desktop Computer with TCL BeyondTV5 serving as my monitor. ​

    Comment


      #3
      Originally posted by Princey View Post
      Question, are you using the default install (snaps) of Firefox?
      Yes, this is with the default snap install. But I also managed to install and run a flatpak version, and it behaves exactly the same. And as a matter of fact you can easily reproduce this issue just by running the live session, loading any web page with Firefox and taking a screenshot of some text. Zooming in you should see grayscale is being used.

      Comment


        #4
        I do not use snaps at all. First thing I do on a clean install is remove snaps. I ran the native version (deb from mozilla) of Firefox so I don't have that issue.
        Challenges are what that keeps us from the borderline of boredom in life's journey. Linux user no. 419401 currently running Kubuntu 24.04
        _______________________________________________
        Current System: Beelink Mini PC, AMD Ryzen 7 5800H 8 Core(Up to 4.4GHz), 32GB DDR4 RAM 1TB NVME M.2 SSD, SER5 MAX Mini Desktop Computer with TCL BeyondTV5 serving as my monitor. ​

        Comment

        Users Viewing This Topic

        Collapse

        There is 1 user viewing this topic.

        Working...
        X