34fa01be82
If the first font in the families list happens to have been disambiguated because of duplicates, two things went wrong: 1. hasFamily() would return false for the font family, because it does not disambiguate when checking for the family name and only checks if the families list contains the exact string. 2. Adding aliases to the full disambiguated string is not supported, only the family name. The first issue has been reported separately as QTBUG-89068. The test failure is fixed by just avoiding the fonts that are ambiguous in the test, as it really doesn't matter which font we pick. Fixes: QTBUG-89008 Pick-to: 5.15 6.0 Change-Id: I829778c2e7bb6090475c34dcf9cdce58862729d6 Reviewed-by: Liang Qi <liang.qi@qt.io> |
||
---|---|---|
.. | ||
.gitignore | ||
BLACKLIST | ||
CMakeLists.txt | ||
LED_REAL_readme.txt | ||
LED_REAL.TTF | ||
qfontdatabase.pro | ||
testdata.qrc | ||
tst_qfontdatabase.cpp |