Two Small Bugs in New OpenSCAD Font Selection Feature

The following code:

Sign_Text = “Name”;
Font_Name = “Sriracha”; // font

produces this screenshot:

Bug Example

There appears to be 2 bugs. First, in the UI, “Font_Name” is shown with the underscore character instead of converting the underscore character to a space, which is what OpenSCAD usually does.

Second, when you change the original font to a different font then revert to the default font, the name changes back to the original font, but regenerating the model still uses the different font. I have reproduced this bug with the Customizable Box with Lid model that was linked to the announcement of the new font UI.

Has anyone else noticed these bugs?

1 Like