FreeCad Failed to compute left/right minimum bearings for "cursor.pcf"

I updated to nixos unstable for updated packages but i found a problem with freecad where whenever i change any setting it becomes unresponsie and gives error
Failed to compute left/right minimum bearings for “cursor.pcf”

Is ther any fix for this problem because flatpak version on it works but it hurts my sanity using apps from flatpak.

Seems to be an upstream issue: [Problem] Failed to compute left/right minimum bearings for "cursor.pcf" · Issue #10514 · FreeCAD/FreeCAD · GitHub

cursor.pcf is a special bitmap font used by the the xorg-server to draw the cursor.
FreeCad is trying to use it as a normal font, for some reason, and is tripping up.