diff options
Diffstat (limited to 'src/render/Font.h')
-rw-r--r-- | src/render/Font.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/Font.h b/src/render/Font.h index 5218e426..7c1d089f 100644 --- a/src/render/Font.h +++ b/src/render/Font.h @@ -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 }; |