From 5edbce6f4f412c5b928c9e08d9330c07d800f683 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 27 Jan 2022 16:11:05 -0500 Subject: [PATCH] fix system font on macOS --- src/gui/gui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index ea29729e6..d42dddbb4 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -4866,9 +4866,9 @@ String getHomeDir() { #define SYSTEM_PAT_FONT_PATH_2 "C:\\Windows\\Fonts\\" #define SYSTEM_PAT_FONT_PATH_3 "C:\\Windows\\Fonts\\" #elif defined(__APPLE__) -#define SYSTEM_FONT_PATH_1 "/System/Library/Fonts/SFNSDisplay-Regular.otf" -#define SYSTEM_FONT_PATH_2 "/System/Library/Fonts/Helvetica.dfont" -#define SYSTEM_FONT_PATH_3 "/System/Library/Fonts/LucidaGrande.ttc" +#define SYSTEM_FONT_PATH_1 "/System/Library/Fonts/SFNS.ttc" +#define SYSTEM_FONT_PATH_2 "/System/Library/Fonts/Helvetica.ttc" +#define SYSTEM_FONT_PATH_3 "/System/Library/Fonts/Helvetica.dfont" #define SYSTEM_PAT_FONT_PATH_1 "/System/Library/Fonts/Monaco.dfont" #define SYSTEM_PAT_FONT_PATH_2 "/System/Library/Fonts/Courier.dfont" #define SYSTEM_PAT_FONT_PATH_3 "/System/Library/Fonts/Courier New.ttf"