Flatpak+gtk apps has no fonts

I have updated frequently, both for flatpaks (most of my flatpaks are installed system wide, some need sudo to run but not all of them).

I am having an issue where the fonts on all of these applications are non-existent, everything looks is squares, this looks to be a issue with both gtk+flatpak. I use homemanager, and nix-flatpak, but i doubt nix-flatpak is the cause as the only thing it does is install flatpaks.

Here is the info:
Flatpak 1.16.6

- system: `"x86_64-linux"`
- host os: `Linux 6.18.22, NixOS, 26.05 (Yarara), 26.05.20260414.4bd9165`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.34.6`
- nixpkgs: `/nix/store/0d1kf07ph2ply64i1y247f9q2an9cw00-source`

Found the fix:

rm -rf ~/.cache/fontconfig/

flatpak list --app --columns=application | while read app; do
echo “Rebuilding font cache for $app…”
flatpak run --command=fc-cache “$app” -r 2>/dev/null || echo "  skipped $app (no fc-cache)"
done