From 249d47c5f7b59c70d990e2530445d3c6cba7aa12 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Mon, 24 May 2021 22:13:37 -0400 Subject: initial font stuff --- abaddon.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'abaddon.cpp') diff --git a/abaddon.cpp b/abaddon.cpp index 36033eb..0bb5f84 100644 --- a/abaddon.cpp +++ b/abaddon.cpp @@ -2,6 +2,7 @@ #include #include #include +#include "platform.hpp" #include "discord/discord.hpp" #include "dialogs/token.hpp" #include "dialogs/editmessage.hpp" @@ -646,6 +647,8 @@ EmojiResource &Abaddon::GetEmojis() { } int main(int argc, char **argv) { + if (std::getenv("ABADDON_NO_FC") == nullptr) + Platform::SetupFonts(); #if defined(_WIN32) && defined(_MSC_VER) TCHAR buf[2] { 0 }; GetEnvironmentVariableA("GTK_CSD", buf, sizeof(buf)); -- cgit v1.2.3