[SOLVED] Fonts are broken in Boxes

Boxes fonts are broken.
Please help.

Hi @artcobalt!

Are you using the Boxes flatpak? On Rocky 9?

Then yeah this is a known bug unfortunately (hits me for basically all Flatpaks that use the Cantarell font)
Here is the Bugzilla for that: 2150816 – Update flatpak-runtime and flatpak-sdk to incorporate fontconfig changes

There is a workaround to make it work though, a dirty one, but it works…

sudo cp -vn /usr/share/fonts/cantarell/* /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/<gnome-major-version>/<very-long-hash>/files/share/fonts/cantarell/
This command needs to be run for every GNOME major version which is installed as Flatpak layer, and has to be rerun everytime a new version of that layer gets installed.

Hopefully this will be fixed in 9.2 :slight_smile:

Thank you very much!
This worked for me: sudo cp -vn /usr/share/fonts/cantarell/* /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/44/active/files/share/fonts/cantarell/

1 Like