Fix #113826: Set Explicit Font Size for Overlays #113868

Merged
Harley Acheson merged 1 commits from Harley/blender:Fix113826 into blender-v4.0-release 2023-10-18 00:50:12 +02:00

1 Commits

Author SHA1 Message Date
Harley Acheson b1e77a34cd Fix #113826: Set Explicit Font Size for Overlays
The complaint illustrates how text measurement can be broken by a
drawing callback. This is because overlays are setting global_font_size
value, which is used by subsequent drawing, but does not explicitly set
size on the global_font_default font, which is needed for measurement.
2023-10-17 15:48:04 -07:00