summarylogtreecommitdiffstats
path: root/Use-system-font-by-default.patch
blob: 8f1f1171264771a5500a47b7e73d93f37f6c8668 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/Telegram/SourceFiles/settings.cpp b/Telegram/SourceFiles/settings.cpp
index 4cde4a658..71e6954f3 100644
--- a/Telegram/SourceFiles/settings.cpp
+++ b/Telegram/SourceFiles/settings.cpp
@@ -7,6 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
 */
 #include "settings.h"
 
+#include "base/platform/base_platform_info.h"
 #include "ui/emoji_config.h"
 
 namespace {
@@ -209,7 +210,7 @@ rpl::producer<> UpdatedRecentEmoji() {
 
 QString gMainFont, gSemiboldFont, gMonospaceFont;
 bool gSemiboldFontIsBold = false;
-bool gUseSystemFont = false;
+bool gUseSystemFont = Platform::IsLinux();
 
 rpl::variable<int> gStickerHeight = 128;
 void SetStickerHeight(int height) {