add MwNbitmapFont

This commit is contained in:
Nishi 2025-12-19 22:35:26 +09:00
commit 604ff72d6e
Signed by: nishi
GPG key ID: 27EF69B208EB9343
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
}