Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2.3, 6.3.0 Beta2
-
None
-
macOS 12.2.1
Description
Qt returns incorrect tight bounding rect widths for various macOS default fonts.
It often leaves padding to the left or to the right which should not exist for tight bounding rects.
Reproduction
Source code attached. The screenshot was taken on Qt 6.3.0 Beta 2.
The example application uses the following fonts:
- SignPainter
- Apple Chancery
- Herculanum
- Snell Roundhand
- Savoye LET
- Zapfino
- Corsiva Hebrew
These were preinstalled on my Mac.
If one of them isn’t installed on your Mac, open the preinstalled "Font Book" application, select "All fonts" in the sidebar and download the missing fonts from the list.