pokeemmo/include/chinese_text.h
2025-10-11 04:00:01 +08:00

12 lines
474 B
C

#ifndef CHINESE_TEXT_H
#define CHINESE_TEXT_H
bool8 IsChineseChar(u16 currChar, u16 nextChar, u8 fontId, bool32 isJapanese);
bool8 IsChinesePunctuation(u16 currChar, u8 fontId, bool32 isJapanese);
void DecompressGlyph_Chinese(u16 ChineseChar, u8 fontId);
u8 GetChineseFontWidthFunc(u16 ChineseChar, u8 fontId);
extern const u16 gFontSmallChineseGlyphs[]; //汉字小字体字模
extern const u16 gFontNormalChineseGlyphs[]; //汉字大字体字模
#endif //CHINESE_TEXT_H