Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.6.0
-
None
Description
If a font has separate base font-name and preferred font name, the fontconfig fontdatabase will register a font face under the preferred font name, and set the base font-name as an alias. When the base name is a sub-family however that means when that sub-family is requested we will incorrectly look at the whole family of face and not just the sub-family.
For instance looking for family "MyFont Light", will redirect to "MyFont" and return any face from there.
This works on Windows.
Attachments
Issue Links
- is required for
-
QTBUG-51335 Font style matching is inconsistent
- Reported
- relates to
-
QTBUG-55625 Matching font sub-family by name doesn't work on OS X
- Reported