Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.3.0 RC1
-
None
-
Mac OS X 10.9
Description
QFontInfo is supposed to return the actual font resolved for a QFont request, but doing e.g.:
QFont font("American Typewriter"); font.setStyleName("foobar"); qDebug() << QFontInfo(font).styleName();
Will print out "foobar", so it just returns whatever you put into QFont in the first place, which is not helpful.
Attachments
Issue Links
- relates to
-
QTBUG-75641 Qml font weight and styleName not working (not rendered correctly)
- Reported