Add language-specific font configuration

meta.xml can now have a <font> tag, which gives the name of the font
that the language needs. This will directly control the interface font
when the language is active, and will soon also control the font used
for each option on the language screen.
This commit is contained in:
Dav999-v
2023-01-15 01:31:02 +01:00
committed by Misa Elizabeth Kai
parent dadb7f2623
commit 5dad6b38be
12 changed files with 94 additions and 23 deletions

View File

@@ -28,8 +28,7 @@ struct LangMeta
bool toupper_lower_escape_char; // = false; enable ~ to mark lowercase letters for uppercasing
std::string menu_select;
std::string menu_select_tight;
unsigned char font_w;
unsigned char font_h;
uint8_t font_idx;
};
struct TextboxFormat