Set fallback for QFont::System to be MS Sans Serif and not Arial
The system font for Windows should be MS Sans Serif which is what Qt 4 was using and not Arial. Change-Id: If3ed55bce87f6376b2897f1fc487bbc0627d1799 Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>bb10
parent
c750d8408e
commit
afd6313755
|
|
@ -1639,9 +1639,12 @@ QStringList QWindowsFontDatabase::fallbacksForFamily(const QString &family, QFon
|
|||
result << QString::fromLatin1("Old English");
|
||||
break;
|
||||
case QFont::Helvetica:
|
||||
result << QString::fromLatin1("Arial");
|
||||
break;
|
||||
case QFont::System:
|
||||
default:
|
||||
result << QString::fromLatin1("Arial");
|
||||
result << QString::fromLatin1("MS Sans Serif");
|
||||
break;
|
||||
}
|
||||
|
||||
result.append(QWindowsFontDatabase::extraTryFontsForFamily(family));
|
||||
|
|
|
|||
Loading…
Reference in New Issue