Every once in a while I give evolution a try. It suits my needs very well except… the font rendering! As I have learned, there is some ugly font rendering because WebKit doesn’t like to be sandboxed and there is a workaround making user-specific font settings (~/.config/fontconfig), at least in Arch Linux. But that doesn’t fix the root cause, does it? And I wonder why there seem to be so few people facing this problem. As soon as I’ve installed the Segoe UI font and getting an email from Outlook, I see the ugly font rendering. Can anyone else confirm this?
Well, I’m running Arch Linux (no flatpaks) and all the font configuration is under /etc/fonts. There, in conf.d, symlinks point to /usr/share/fontconfig/…. That’s the standard Arch way.
But all of it is configured in /etc/fonts as well. But without ~/.config/fontconfig/fonts.conf, I have ugly rendered fonts in Evolution. And other (non-webkitgtk) Applications don’t have a problem.
I cannot guess why that might be. All of /etc is available inside the sandbox.
My guess is that nothing is wrong with fontconfig. My guess is that your GTK font settings are messed up inside the sandbox. This can happen if you’re not running xdg-desktop-portal-gtk, for instance. Previously, gnome-settings-daemon was also required for antialiasing settings, but that should no longer be required.