Not sure what happened, but 2 of my flatpak apps started having this issue. I can somewhat work around it by opening gnome-tweaks and changing any font-related setting, causing it to redraw some of the text correctly (lots of the UI is still broken though, e.g min/max/close buttons). This doesn't happen with GTK3 flatpak apps (e.g Flatseal) and non-flatpak GTK4 apps (e.g Files).
I tried running fc-cache -f -v inside and outside the flatpaks, but that didn't seem to do anything.
fc-cache inside the flatpak: https://0x0.st/oFj-.txt
fc-cache on the host: https://0x0.st/oFjo.txt
GPU: AMD 6900 XT (amdgpu, open-source drivers)
DE: GNOME 43 (wayland)
Font: default GNOME font (Cantarell)
pacman -Qne: https://0x0.st/oFjT.txt
pacman -Qme: https://0x0.st/oFjA.txt
Font packages installed: cantarell-fonts, adobe-source-code-pro-fonts, noto-fonts, noto-fonts-cjk, noto-fonts-emoji, gsfonts
Things I've also tried:
- rebooting
- deleting the app folders in
~/.var/app/... - disabling all GNOME extensions
- GNOME on X11
flatpak repair- testing under a new user account
- deleting
/var/lib/flatpak