From 487943bbe851366122271fcf6f8df364ab2a686d Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 26 Jan 2022 17:36:23 -0500 Subject: build, menu, game: Use bold font --- 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, -- cgit v0.9.1