Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2.3, 6.3.0 Beta2
-
None
-
macOS 12.2.1
Description
Qt returns incorrect bounding rects and tight bounding rects for ligatures of the macOS default font "Zapfino".
In the attached screenshot, bounding rects are yellow, tight bounding rects are orange.
All of them are far too wide.
This causes issues when trying to center this text as it never ends up visually centered.
Reproduction
Source code attached. The screenshot was taken on Qt 6.3.0 Beta 2.
Zapfino was preinstalled on my Mac. If it isn't on yours, open the preinstalled "Font Book" application, select "All fonts" in the sidebar, and download Zapfino from the list.