This commit is contained in:
Zeno Rogue 2021-12-12 22:39:54 +01:00
commit d3fb683a95
2 changed files with 5 additions and 1 deletions

View File

@ -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);

View File

@ -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 <windows.h>