Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2.3, 6.3.0 Beta2
-
None
-
macOS 12.2.1
Description
QML renders the macOS system font "Skia" incorrectly in the attached example.
The bug happens when loading two different styles of the font
- with the same weight
- but with different stretch values.
The glyphs from the font style that is loaded first seem to be reused for all other font styles with the same weight. This kind of caching should not happen.
Reproduction
Example code attached. The screenshot was taken on vanilla Qt 6.2.3. The second screenshot is from Apple Pages and shows what the fonts should look like.
Skia was preinstalled on my Mac. If Skia isn't installed on your Mac, open the preinstalled "Font Book" application, select "All fonts" in the sidebar and download Skia from the list.