This commit is contained in:
Love 2024-08-03 11:12:12 +02:00
parent 50fe9d9c6d
commit cf538f2cf5

View File

@ -21,7 +21,7 @@ constexpr const char *getLinuxFilePath() {
const char *getDefaultFontPath() { const char *getDefaultFontPath() {
#if defined(_WIN32) || defined(_WIN64) #if defined(_WIN32) || defined(_WIN64)
return R"(C:\Windows\Fonts\Arial.ttf)"; return R"(C:\Windows\Fonts\Arial.ttf)";
#elifdef __linux__ #elif defined(__linux__)
return getLinuxFilePath(); return getLinuxFilePath();
#elif defined(__APPLE__) || defined(__MACH__) #elif defined(__APPLE__) || defined(__MACH__)
return "/System/Library/Fonts/Supplemental/Arial.ttf"; return "/System/Library/Fonts/Supplemental/Arial.ttf";