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
For Gerrit Dashboard: QTBUG-53459 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
159433,4 | Register sub-families as separate fonts | 5.7 | qt/qtbase | Status: MERGED | +2 | 0 |
166690,1 | Register sub-families as separate fonts | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |