Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.5.0
-
None
-
Windows 7 x64
vs2010 sp1
-
4f15449bc2584ad299569c86f707994dca76d733
Description
I can't use application simplified chinese font file under Windows. This is because after I add the font file using QFontDatabase::addApplicationFont(), the font family name returned by QFontDatabase::applicationFontFamilies() is an english name, but the internally registered font family name is a localized version name. It will fail to use the english name to access the font.
The sample program to reproduce this issue is attached. Before run the program, copy the attached test.tff font file to D:/test.tff, then run the program and you can see the character is not rendered in the font family I choose.
Attachments
For Gerrit Dashboard: QTBUG-47096 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
120866,5 | Windows: register alias for application font | 5.5 | qt/qtbase | Status: MERGED | +2 | 0 |