summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2022-01-26 17:36:23 (EST)
committer P. J. McDermott <pj@pehjota.net>2022-01-27 00:47:34 (EST)
commit487943bbe851366122271fcf6f8df364ab2a686d (patch)
tree9aa7cf6eae2e2f7e706d6b40f104ceda459b9fd2
parent7a2bba097269a711ae6a65c5287968eb04795e9a (diff)
downloadmazefight-487943bbe851366122271fcf6f8df364ab2a686d.zip
mazefight-487943bbe851366122271fcf6f8df364ab2a686d.tar.gz
mazefight-487943bbe851366122271fcf6f8df364ab2a686d.tar.bz2
build, menu, game: Use bold font
-rw-r--r--fonts/local.mk2
-rw-r--r--src/game.c2
-rw-r--r--src/menu.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/fonts/local.mk b/fonts/local.mk
index 3f601d3..1bb30ab 100644
--- a/fonts/local.mk
+++ b/fonts/local.mk
@@ -28,7 +28,7 @@ dist_noinst_DATA = \
%reldir%/FifteenTwenty/src/FifteenTwenty-UltraLight.sfd \
%reldir%/FifteenTwenty/src/FifteenTwenty-UltraLightOblique.sfd
nodist_fonts_DATA = \
- %reldir%/FifteenTwenty/src/FifteenTwenty-Regular.ttf
+ %reldir%/FifteenTwenty/src/FifteenTwenty-Bold.ttf
CLEANFILES += \
$(nodist_fonts_DATA)
diff --git a/src/game.c b/src/game.c
index d748b11..133eff0 100644
--- a/src/game.c
+++ b/src/game.c
@@ -183,7 +183,7 @@ mf_game(long seed, int size, int fow, int reveal, int enemies,
}
}
- font_path = mf_strcat(mf_get_fonts_dir(), "/FifteenTwenty-Regular.ttf");
+ font_path = mf_strcat(mf_get_fonts_dir(), "/FifteenTwenty-Bold.ttf");
text_font = TTF_OpenFont(font_path, MF_TEXT_FONT_S);
if (text_font == NULL) {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
diff --git a/src/menu.c b/src/menu.c
index 4287c03..fa78853 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -249,7 +249,7 @@ mf_menu(SDL_Renderer *renderer)
menu.reveal = SDL_TRUE;
menu.renderer = renderer;
- font_path = mf_strcat(mf_get_fonts_dir(), "/FifteenTwenty-Regular.ttf");
+ font_path = mf_strcat(mf_get_fonts_dir(), "/FifteenTwenty-Bold.ttf");
title_font = TTF_OpenFont(font_path, MF_TITLE_FONT_S);
if (title_font == NULL) {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,