Invalid font should still render
seasick opened this issue · 1 comments
seasick commented
Describe the bug
When no font is selected in OpenSCAD or a wrong font name, then it defaults to a font that is included with OpenSCAD. The web interface says that it can not get the empty font name.
To Reproduce
linear_extrude(4) text("test", font="asdf");
OpenSCAD renders this without error or warning.
The web application logs WARNING: Can't get font asdf in file input.scad, line 1
and doesn't render anything.
Expected behavior
Renders readable 3d text
I suspect that this might be solvable through font.conf
seasick commented
I added "Liberation Sans:Regular" as default font. It will be loaded during first OpenSCAD run and will now run without error or warning (same as Desktop build).