From 8e568a4f15e2642c15ac56a69360e15464b38af2 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 1 May 2020 19:59:04 +0400 Subject: [PATCH] Remove font substitutions now that they're in Qt. --- ui/style/style_core_font.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/ui/style/style_core_font.cpp b/ui/style/style_core_font.cpp index 88c359b..aacd7e2 100644 --- a/ui/style/style_core_font.cpp +++ b/ui/style/style_core_font.cpp @@ -192,17 +192,6 @@ void StartFonts() { #endif // Q_OS_WIN } -#ifdef Q_OS_WIN - auto list = QStringList(); - list.append("Microsoft YaHei"); - list.append("Microsoft JhengHei UI"); - list.append("Yu Gothic UI"); - list.append("\xEB\xA7\x91\xEC\x9D\x80 \xEA\xB3\xA0\xEB\x94\x95"); - for (const auto &name : FontTypeNames) { - QFont::insertSubstitutions(name, list); - } -#endif // Q_OS_WIN - #ifdef Q_OS_MAC auto list = QStringList(); list.append("STIXGeneral");