fix system font on macOS

This commit is contained in:
tildearrow 2022-01-27 16:11:05 -05:00
parent cd9b2b675e
commit 5edbce6f4f

View file

@ -4866,9 +4866,9 @@ String getHomeDir() {
#define SYSTEM_PAT_FONT_PATH_2 "C:\\Windows\\Fonts\\" #define SYSTEM_PAT_FONT_PATH_2 "C:\\Windows\\Fonts\\"
#define SYSTEM_PAT_FONT_PATH_3 "C:\\Windows\\Fonts\\" #define SYSTEM_PAT_FONT_PATH_3 "C:\\Windows\\Fonts\\"
#elif defined(__APPLE__) #elif defined(__APPLE__)
#define SYSTEM_FONT_PATH_1 "/System/Library/Fonts/SFNSDisplay-Regular.otf" #define SYSTEM_FONT_PATH_1 "/System/Library/Fonts/SFNS.ttc"
#define SYSTEM_FONT_PATH_2 "/System/Library/Fonts/Helvetica.dfont" #define SYSTEM_FONT_PATH_2 "/System/Library/Fonts/Helvetica.ttc"
#define SYSTEM_FONT_PATH_3 "/System/Library/Fonts/LucidaGrande.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_1 "/System/Library/Fonts/Monaco.dfont"
#define SYSTEM_PAT_FONT_PATH_2 "/System/Library/Fonts/Courier.dfont" #define SYSTEM_PAT_FONT_PATH_2 "/System/Library/Fonts/Courier.dfont"
#define SYSTEM_PAT_FONT_PATH_3 "/System/Library/Fonts/Courier New.ttf" #define SYSTEM_PAT_FONT_PATH_3 "/System/Library/Fonts/Courier New.ttf"