This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Zoomed labels are too short in some zoom levels. Bug can be tested with the test.tool.ToolTest example.
Created attachment 39855 [details] Cut label
*** 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 small-font. 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 text.
Created attachment 46011 [details] Patch
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".
Fixed