More japanese

This commit is contained in:
Sergeanur 2020-04-16 00:24:49 +03:00
commit 3e460d94ac
4 changed files with 449 additions and 82 deletions

View file

@ -160,5 +160,11 @@ public:
#ifdef MORE_LANGUAGES
static void ReloadFonts(uint8 set);
// japanese stuff
static bool IsAnsiCharacter(wchar* s);
static bool IsJapanesePunctuation(wchar* a1);
static bool IsJapanese() { return LanguageSet == FONT_LANGSET_JAPANESE; }
static bool IsJapaneseFont() { return IsJapanese() && (Details.style == FONT_JAPANESE || Details.style == FONT_PAGER); }
#endif
};