Zoomed labels are too short in some zoom levels. Bug can be tested with the
Created attachment 39855 [details]
*** Issue 84012 has been marked as a duplicate of this issue. ***
This problem is caused by font hinting. The hinted font is a bitmap based and
has diferrent rendered-size than a size of a bigger font scaled-down to match
The solution is to add a new property to LabelWidget called "useVectorGlyphs".
If the property is set to true, then the font is converted to a set of glyphs
and used that way. This will disable the font hinting and force the correct
scaling. On the other hands, rendering non-hinted fonts may be not-easy-readable
Created attachment 46011 [details]
A patch has been attached. A new LabelWidget.useGlyphVector property is added. If set to true, then the text of a
LabelWidget is converted to GlyphVector and it is rendered as a shape. Therefore it is rendered accurately no matter
what zoom-factor is set to a scene.
Asking for fast API review.
Created attachment 46013 [details]
Patch with update documentation
Fixed in main trunk. See test.label.LabelGlyphVectorTest example for usages.
forgotten to change "assignment".