graphics: add little-caps font

This commit is contained in:
Lephenixnoir 2022-09-04 09:36:45 +02:00
parent 3cb7b46c46
commit 249b16b82f
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
4 changed files with 14 additions and 0 deletions

View File

@ -26,6 +26,7 @@ set(ASSETS
assets-cg/bosonx_title.png
assets-cg/bosonx_logo_empty.png
assets-cg/lepheyatis_logo.png
assets-cg/font_boson.png
assets-cg/stages/stage1.png
assets-cg/stages/stage2.png
assets-cg/stages/stage3.png

BIN
assets-cg/font_boson.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -22,3 +22,13 @@ lepheyatis_logo.png:
type: bopti-image
name: img_lepheyatis_logo
profile: p4_rgb565a
font_boson.png:
name: font_boson
type: font
charset: print
grid.size: 8x11
grid.padding: 1
grid.border: 0
proportional: true
height: 9

View File

@ -251,6 +251,9 @@ int main(void)
prof_init();
game_init();
extern font_t font_boson;
dfont(&font_boson);
#if LOG_USB_ENABLE
dclear(C_WHITE);
dtext_opt(DWIDTH/2, DHEIGHT/2, C_BLACK, C_NONE, DTEXT_CENTER, DTEXT_MIDDLE,