Do not add QPF fonts to basic font db
QPlatformFontDatabase::populateFontDatabase() routine uses a different usrPtr format which is not compatible with the one basic font db uses (FontFile *). We shouldn't mix them together. Task-number: QTBUG-22713 Change-Id: I239ea085e14261f6b9ba66b03710a590a44378f9 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
This commit is contained in:
parent
fc659979e6
commit
1916460015
@ -188,7 +188,6 @@ static inline bool scriptRequiresOpenType(int script)
|
|||||||
|
|
||||||
void QBasicFontDatabase::populateFontDatabase()
|
void QBasicFontDatabase::populateFontDatabase()
|
||||||
{
|
{
|
||||||
QPlatformFontDatabase::populateFontDatabase();
|
|
||||||
QString fontpath = fontDir();
|
QString fontpath = fontDir();
|
||||||
|
|
||||||
if(!QFile::exists(fontpath)) {
|
if(!QFile::exists(fontpath)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user