add MwNbitmapFont

This commit is contained in:
NishiOwO
2025-12-19 22:35:26 +09:00
parent a384add9e9
commit 604ff72d6e
4 changed files with 10 additions and 3 deletions

View File

@@ -593,8 +593,12 @@ void MwSetDefault(MwWidget handle) {
inherit_integer(handle, MwNmodernLook, 1);
#endif
#if defined(USE_STB_TRUETYPE) || defined(USE_FREETYPE2)
inherit_integer(handle, MwNbitmapFont, 0);
set_font(handle);
set_boldfont(handle);
#else
inherit_integer(handle, MwNbitmapFont, 1);
#endif
}