Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0
-
None
-
9f7bc42b7d6466b8422c7cc3900a7eb3bfa60bf9
Description
In qt 5.0, If a font had multi family names(localzied and non-localized), when populate font database via fontconfig, The FcPatternGetString(FC_FAMILY) will get a localized font family name.
But, in fallbacksForFamily, it will get a non-localized font family, So it always can not find the proper font to fallback.(Since it use Localized font family in fontdatabase);
This cause a very funny issue, Qt can not fallback to proper font for current locale if the font had a localized font family name, but load other fonts which can support this charset.
Here is a patch to fix it.
Attachments
Issue Links
- replaces
-
QTBUG-30415 Qt5 can't show some Chinese character?
- Closed