70002907 Make the VectorDraw.Render.grTextStyle.getShapeInfo thread safe

Article 70002907
Type Wish
Product Engine
Date Added 8/17/2026 12:00:00 AM
Fixed 12.1.1 (8/17/2026 12:00:00 AM)
Submitted by Soon Hui Ngu

Summary

VectorDraw.Render.grTextStyle.getShapeInfo(Char, grTextStyleExtra) maintains an internal glyph-shape cache that is not thread-safe. When multiple threads request the bounding box of text containing the same not-yet-cached character concurrently, the cache's internal Dictionary throws under concurrent Add calls.

Solution

Fixed in version 12.1.1

Send comments on this topic.