Priority: P2: Important
Affects Version/s: 5.9.6, 5.11.0
Fix Version/s: 6.0 (Next Major Release)
Component/s: Quick: Other
Environment:Qt 5.9.6 and Qt 5.11.0 built with -system-freetype (Freetype: 2.9) on latest Gentoo Linux ~amd64.
fontNormal.name is set to 'Source Sans Pro' which is the preferred name of the ttf.
fontItalic.name is also set to 'Source Sans Pro' which is the preferred name of the ttf.
Then we can not apply fontNormal.name and fontItalic.name as they are because they are the same string and the font loaded at last will be applied in this case.
Please find the example attached to reproduce the issue. Fonts are also in it.
What I expect is that FontLoader sets its family name to the name property.
- Source Sans Pro Light
- Source Sans Pro Light Itaric
|For Gerrit Dashboard: QTBUG-68829|
|288692,9||Enabler: Store more properties of application fonts||dev||qt/qtbase||Status: MERGED||+2||0|
|288755,8||Add additional properties to FontLoader to help disambiguate||dev||qt/qtdeclarative||Status: MERGED||+2||0|