Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.14.0 Alpha
-
None
Description
Run the following code on Windows:
QFont lQfont_ArialBlk;
lQfont_ArialBlk.setFamily("Arial Black");
lQfont_ArialBlk.setWeight(QFont::Black);
qDebug() << QFontInfo(lQfont_ArialBlk).family() << QFontInfo(lQfont_ArialBlk).weight();
It will print out "Arial Black" and 50. Setting the weight on the QFont query makes no difference.
The actual weight of the Arial Black font is 87.
Attachments
Issue Links
- is required for
-
QTBUG-74860 Umbrella task for font selection issues
- In Progress
- resulted from
-
QTBUG-74748 When using multiple different Arial based fonts, it can end up picking up the wrong one when rendering
- Closed