Use Vazir font on macOS too.
This commit is contained in:
parent
8e44fb7780
commit
8a1aeb22d8
1 changed files with 0 additions and 2 deletions
|
|
@ -230,10 +230,8 @@ void StartFonts() {
|
||||||
//QFont::insertSubstitution(name, fallback);
|
//QFont::insertSubstitution(name, fallback);
|
||||||
#endif // Q_OS_WIN
|
#endif // Q_OS_WIN
|
||||||
|
|
||||||
#if defined Q_OS_WIN || defined Q_OS_LINUX
|
|
||||||
const auto persianFallback = FontTypePersianFallback[i];
|
const auto persianFallback = FontTypePersianFallback[i];
|
||||||
QFont::insertSubstitution(name, persianFallback);
|
QFont::insertSubstitution(name, persianFallback);
|
||||||
#endif // Q_OS_WIN || Q_OS_LINUX
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue