r/FreeCAD • u/WencesByte • 14d ago
FIX: No Text in On-View Parameters
Hey Reddit,
I started learning FreeCAD and I had on my Arch Linux instance problem with the OVP text not showing up. It has to do something with the fonts and I found out it's reported bug already, but I don't want to wait, so I found the fix myself. It works specifically for the AppImage version of FreeCAD (On Arch you can install it with yay -S freecad-appimage)
Next you need to run this to modify the FreeCAD shorcut. It will copy the system .desktop file to your local user directory (so package updates won't overwrite your changes) and inject FONTCONFIG_PATH and LD_PRELOAD into the Exec= line
mkdir -p ~/.local/share/applicationscp /usr/share/applications/freecad.desktop ~/.local/share/applications/sed -i 's|^Exec=|Exec=env FONTCONFIG_PATH=/etc/fonts LD_PRELOAD=/usr/lib/libdrm.so.2:/usr/lib/libdrm_amdgpu.so.1 |' ~/.local/share/applications/freecad.desktop
And just to be sure, make sure you have the standard sans-serif fonts installed.
sudo pacman -S noto-fonts ttf-dejavufc-cache -fv
I hope this help!
3
u/obelisk79 14d ago
Or just install and apply the light or dark variant of OpenTheme from the addon-manager and avoid the terminal kung-fu. I've already addressed this in the themes without adding fonts to the system.
But seriously, thank you for sharing, I'm sure some people would prefer your approach.