Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.7, 5.14.1
-
Ubuntu 18.04 w/ fontconfig
-
-
763897702dfc22075a0366df8dfd8f381103a60b (qt/qtdeclarative/dev) d62abf12a4d6e303d585850724f8ddc0ab448a75 (qt/qtdeclarative/5.15)
Description
When using the Noto Sans CJK SC font collection it will not use the right font for subseqent texts using a different style. If the first one loaded is Noto Sans CJK SC Black then it will use that one for any other texts using Noto Sans CJK SC, even if the style is Medium or something else. Setting the styleName to be Black/Medium has no effect here.
QFontInfo indicates that it can find the right font in both cases at least.
This happens when using the Noto Sans CJK SC super package ttc font from https://www.google.com/get/noto/help/cjk/ specifically https://noto-website-2.storage.googleapis.com/pkgs/NotoSansCJK.ttc.zip.
If the individual ttc files are used instead then it works fine.
Attachments
For Gerrit Dashboard: QTBUG-81810 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
298084,2 | Fix using fonts inside .ttc with render type QtRendering | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
300914,2 | Fix using fonts inside .ttc with render type QtRendering | 5.15 | qt/qtdeclarative | Status: MERGED | +2 | 0 |