1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-12 15:26:00 +00:00

Add HYPERFONTPATH to make it easier to package on Fedora.

This commit is contained in:
Dennis Payne
2021-11-17 10:11:13 -05:00
parent 4040f56262
commit d31c330d8b
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);