Chrome/Electron + (X)Wayland = fonts look awful…

A shot in the dark but… After some updates to both hyprland and wayland, my fonts look terrible indeed. See the screenshot below. This is both on Chrome, Discord (Electron), and Waterfox…

In case this matters, I have the following:

# Could help when scaling and not pixelating
xwayland {
  enabled = true
  force_zero_scaling = true
  use_nearest_neighbor = false
}

It does not help.

Any idea?

Some versions, in case this helps:

✓  ~ » lsb_release -a
LSB Version:	n/a
Distributor ID:	Fedora
Description:	Fedora Linux 44 (Workstation Edition)
Release:	44
Codename:	n/a

PS: I thought this might be hyprland related, but no. Gnome shows the same terrible fonts, so it’s not hyprland/hyperkool’s fault.

Any idea how to debug this?

It does appear that the font scalings are not affecting this: the fonts still look grainy and horrid.

Waterfox is affected as well.

This is so annoying.

Solved: removed the ~/.config/fontconfig directory.

Well, that was a pain…