diff --git a/basegraph.cpp b/basegraph.cpp index 0497ad8e..a6e5d716 100644 --- a/basegraph.cpp +++ b/basegraph.cpp @@ -197,7 +197,7 @@ EX void present_screen() { #if CAP_SDLTTF -EX string fontpath = ISWEB ? "sans-serif" : HYPERPATH "DejaVuSans-Bold.ttf"; +EX string fontpath = ISWEB ? "sans-serif" : HYPERFONTPATH "DejaVuSans-Bold.ttf"; void loadfont(int siz) { fix_font_size(siz); diff --git a/sysconfig.h b/sysconfig.h index d557169b..0d9a8bf6 100644 --- a/sysconfig.h +++ b/sysconfig.h @@ -347,6 +347,10 @@ #define HYPERPATH "" #endif +#ifndef HYPERFONTPATH +#define HYPERFONTPATH HYPERPATH +#endif + #if ISWINDOWS #define hyper fake_hyper // avoid "hyper" typedef in <_mingw.h> #define WIN32_LEAN_AND_MEAN // avoid "rad1" macro in