Start using level-specific font where needed, make CJK tweaks

Level text such as room names, text box content, and the contents of
the script editor need to be displayed in the level-specific font, and
tweaked to look right. This involves displaying less lines in the
script editor, making text boxes bigger, displaying some text higher
and some text lower. This is still unfinished, but it's the real start
of a migration to font::print functions!
This commit is contained in:
Dav999-v
2023-01-12 05:27:52 +01:00
committed by Misa Elizabeth Kai
parent 29a3789dec
commit 6ca83114bc
8 changed files with 133 additions and 45 deletions

View File

@@ -115,6 +115,7 @@ std::string string_wordwrap_balanced(const std::string& s, int maxwidth);
std::string string_unwordwrap(const std::string& s);
int len(uint32_t flags, const std::string& t);
int height(const uint32_t flags);
void print(
uint32_t flags,