include/window/text_font.h
The kanji glyphs and the text marks drawn with characters.
Included by file_screen.c, articles.c, glyph_arm.c, screens_internal.h and window_internal.h.
Macros
| Name | Description | |
|---|---|---|
#define | KANJI_GLYPH_SIZE 24 | bytes |
#define | KANJI_WIDTH 10 | pixels |
#define | KANA_WO 134 | The character codes of kana that start runs in the font's order (charmap_ja.tsv), as the File Screen's password spells from them. |
#define | KANA_A 145 | あ, then い to そ |
#define | KANA_KA 150 | か, then き to そ |
#define | KANA_TA 224 | た, then ち to ん |
#define | KANA_TE 227 | て |
#define | KANA_TO 228 | と |
#define | KANA_HA 234 | は, then ひ to ほ |
Enumerations
| Name | Description | |
|---|---|---|
enum | TEXT_MARK_GLYPH { TEXT_MARK_NONE, TEXT_MARK_VOICED, TEXT_MARK_SEMIVOICED } | The marks a kana is drawn with: their character codes. |
Variables
| Name | Description | |
|---|---|---|
extern const Uint8 | FontKanjiGlyphs [] | In Japanese, the glyphs of character codes from 256: KANJI_GLYPH_SIZE bytes each, drawn KANJI_WIDTH pixels wide. |
extern Uint16 | FontMarkGlyphCodes [] | The mark each of a kana's top-bit values stands for (TEXT_CODE_MARK_SHIFT): none, voiced, semi-voiced, none. |
Description
The kanji glyphs and the text marks drawn with characters.
Macros in detail
KANJI_GLYPH_SIZE
#define KANJI_GLYPH_SIZE 24
bytes
Referenced by mnGlyphDrawArm() and mnTextDrawGlyphPair().
Definition at line 17 of file text_font.h.
KANJI_WIDTH
#define KANJI_WIDTH 10
pixels
Referenced by mnGlyphDrawArm() and mnTextDrawGlyphPair().
Definition at line 18 of file text_font.h.
KANA_WO
#define KANA_WO 134
The character codes of kana that start runs in the font's order
(charmap_ja.tsv), as the File Screen's password spells from them.
を
Definition at line 31 of file text_font.h.
KANA_A
#define KANA_A 145
あ, then い to そ
Definition at line 32 of file text_font.h.
KANA_KA
#define KANA_KA 150
か, then き to そ
Definition at line 33 of file text_font.h.
KANA_TA
#define KANA_TA 224
た, then ち to ん
Definition at line 34 of file text_font.h.
KANA_TE
#define KANA_TE 227
て
Definition at line 35 of file text_font.h.
KANA_TO
#define KANA_TO 228
と
Definition at line 36 of file text_font.h.
KANA_HA
#define KANA_HA 234
は, then ひ to ほ
Definition at line 37 of file text_font.h.
Enumerations in detail
TEXT_MARK_GLYPH
enum TEXT_MARK_GLYPH
The marks a kana is drawn with: their character codes.
| Enumerator | Value | Description |
|---|---|---|
TEXT_MARK_NONE | 0 | |
TEXT_MARK_VOICED | 222 | the voiced mark (dakuten) |
TEXT_MARK_SEMIVOICED | 223 | the semi-voiced mark (handakuten) |
Definition at line 21 of file text_font.h.
Variables in detail
FontKanjiGlyphs
extern const Uint8 FontKanjiGlyphs[]
In Japanese, the glyphs of character codes from 256: KANJI_GLYPH_SIZE bytes
each, drawn KANJI_WIDTH pixels wide.
Referenced by mnGlyphDrawArm() and mnTextDrawGlyphPair().
Definition at line 11 of file text_font.h.