70002711 Support Shx text Bold in webcontrol

Article 70002711
Type Wish
Product WebJS
Date Added 6/13/2025 12:00:00 AM
Fixed 11.4.4 (6/13/2025 12:00:00 AM)
Submitted by Efstathios Tsoumas

Summary

Support Shx text Bold property

Solution

In version 11.4.4
When text has Bold property true or reference textstyle has Bold true
the the vdcanvas.GetDocument.ShxBoldWidth is used to specify the with of shx text characters
When it is greater than 0 then specifies the width as percent of the the text Height (example: ShxBoldWidth = 20 width is 20% of text Height)
and if it is less than zero specifies the width in hundrends of device millimeters (example: ShxBoldWidth = -100 width is 1 milimiter in the screeen)
NOTE this option is not supported in 3d web gl render modes.The width in 3d render modes is always 1 pixel

Send comments on this topic.