mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-18 00:15:44 +00:00
Inside a Flatpak, /usr/share/fonts and /usr/local/share/fonts are the runtime's and the home font folders aren't exposed, so WordCraft listed only the runtime's fonts. Flatpak mounts the host's system, local and user fonts at /run/host/fonts, /run/host/local-fonts and /run/host/user-fonts for every app, and its main branch (after 1.19.2) also mounts ~/.fonts at /run/host/user-fonts-legacy when the XDG user font folder exists too; scan those as well. Folders that don't exist are skipped, as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>