Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.0
-
None
Description
I have a font with name records like this:
platformID | languageID | nameID | name |
---|---|---|---|
3(windows) | 1033(English) | 1(Family) | aaa |
3 | 1033 | 16(Preferred Family) | bbb |
3 | 2052(Chinese, System lanugage) | 1 | ccc |
The function "qt_getCanonicalFontNames" return the english Preferred Family Name "bbb", but Windows accepted "ccc" when calling CreateFont.
It seems that Windows use family name in these order:
- System Language Preferred Family
- System Language Family
- English Preferred Family
- English Family