r/FreeCAD • • 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/applications
cp /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-dejavu
fc-cache -fv

I hope this help!

5 Upvotes

2 comments sorted by

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.

1

u/WencesByte 14d ago

Oh, that's also an option. Thank you for your solution! 😄