Fixing fonts on the FreeCAD snap

There is an issue on the FreeCAD snap whereby whenever using fonts, they can be picked from a font selector, but the chosen font is not rendered. This issue is not present on the FreeCAD daily PPA package. There fonts can be chosen and the chosen one is rendered, so this is probably related to the snap package.

Here is the actual issue: Fonts are not rendered · Issue #106 · FreeCAD/FreeCAD-snap · GitHub and FreeCAD’s snapcraft.yaml file.

I built some snaps a while back, and I’d like to tackle this issue. However, I don’t know where to start when it comes to fonts and snaps. I would welcome any pointers. Thank you!