fix
This commit is contained in:
parent
50fe9d9c6d
commit
cf538f2cf5
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user