Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.0
-
None
Description
On windows we can not match font sub-family using styleName matching. This is because the windows fontdatabase only registers the base font-family, and not the preferred font-family.
For instance a font like Roboto Light, would have base name "Roboto Light", but preferred family "Roboto" with preferred styleName "Light". The preferred names are however not read and registered on Windows.
This works on Linux and OS X.
Attachments
Issue Links
- is required for
-
QTBUG-51335 Font style matching is inconsistent
- Reported
- relates to
-
QTBUG-57324 Matching font by stretch doesn't work on Windows
- Reported
-
QTBUG-57856 qt assert in qfontdatabase.cpp for each app under simplified chinese windows
- Closed
-
QTBUG-53615 [Windows]: When adding fonts from a file then it will combine the style name with the family name
- Closed
- resulted in
-
QTBUG-75641 Qml font weight and styleName not working (not rendered correctly)
- Reported