"Net label" text is cut off in Schematic view
Current Behaviour
Texts of net labels are cut off, when the text is longer than a few characters. Screenshot
Build: Version 0.9.9 (bCD-348-0-f0af53a9 2021-09-22) Cocoa [Qt 5.15.2]
Operating System: macOS 11.6.3 Big Sur
Steps to reproduce:
- Create a new project and go to Schematic view
- Search parts for "net label" and add a new "net label".
- Enter long text in the label property, e.g. "lorem ipsum dolor sit amet"
Expected Behaviour
The net label's text should be shown completely.
I could not reproduce this in 0.9.9 or 0.9.10 (Windows). Is this a MacOS specific bug?

Imported screenshot link from imgur

I could reproduce the issue on macOS Ventura, Fritzing 0.9.10
Comparing Macos (above) and Linux (below). Both have roughly the same font size at 990% zoom, but the NetLabel on MacOS is too small.
I wonder if we could change to a monospaced font to make our life easier and fix this problem and https://github.com/fritzing/fritzing-app/issues/3630.
Fritzing has a method to calculate bounding boxes in SVGText. This is implementation is probably now obsolete: The missing bounding box implementation was added to Qt with v6.2.
Most of these kind of bugs are not related to the font width directly, but svg transforms, styles, using a fallback font (this one looks suspiciously like a fallback font that is simply not installed on macos) .