Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
fix: force bold typeface (upstream)
Browse files Browse the repository at this point in the history
  • Loading branch information
robshape committed Apr 3, 2024
1 parent 56bbc17 commit 12452ea
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/common/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,12 @@ SDL_Surface* GFX_init(int mode) {
font.medium = TTF_OpenFont(FONT_PATH, SCALE1(FONT_MEDIUM));
font.small = TTF_OpenFont(FONT_PATH, SCALE1(FONT_SMALL));
font.tiny = TTF_OpenFont(FONT_PATH, SCALE1(FONT_TINY));


TTF_SetFontStyle(font.large, TTF_STYLE_BOLD);
TTF_SetFontStyle(font.medium, TTF_STYLE_BOLD);
TTF_SetFontStyle(font.small, TTF_STYLE_BOLD);
TTF_SetFontStyle(font.tiny, TTF_STYLE_BOLD);

return gfx.screen;
}

Expand Down

0 comments on commit 12452ea

Please sign in to comment.