TWL Bitmap Font

Overview

TWL-SDK includes a font resource called the TWL Bitmap Font.

The TWL Bitmap Font is in the NITRO Font (NFTR) format described in TWL-System. An explanation of the NITRO font format, as well as a library for drawing characters using NITRO fonts, is included in TWL-System. Be sure to get the TWL-System package, which is provided separately.

The TWL Bitmap Font is built into the TWL system as one of the system's internal fonts. NAND applications can use the system's internal fonts, so the TWL Bitmap Font can be used even if it is not included in an SRL. See Internal Fonts for more about the system's internal fonts. Card applications cannot use the system's internal fonts, so be sure to include them in the SRL.

License

The TWL Bitmap Font can be freely used for NITRO or TWL applications. The use of effects like shadows or outlines is also acceptable.

Location

TWL bitmap fonts are in the TWL-SDK $TwlSDK/data/font directory. There are 3 NFTR in this directory. However, the glyph designs are all the same; only size differs.

File NameContent
tbf_ww_l.NFTRLarge TWL bitmap font
tbf_ww_m.NFTRMedium TWL bitmap font
tbf_ww_s.NFTRSmall TWL bitmap font

Font Parameters

The NITRO Font parameters for the TWL Bitmap Font are shown in the table below. Refer to the documentation for TWL-System for the meaning of the various terms.

SizeLargeMediumSmall
Data size618,676 bytes353,536 bytes220,968 bytes
Cell width16 px12 px10 px
Cell height21 px16 px12 px
Baseline position17 px13 px11 px
Maximum character width17 px13 px11 px
Linefeed size21 px16 px12 px
bpp2 bits/pixel (4 levels)
Alternate charactersU+0020 (Half-width space)
EncodingUTF-16

Character Sets

The internal fonts more or less cover the following character sets. The encoding is UTF-16.

Glyph Images

Links to glyph lists for each font are listed below for reference.

Glyph typeGlyph image
ASCII(Large Font)  (Medium Font)  (Small Font)
Western European characters(Large Font)  (Medium Font)  (Small Font)
JIS X0201 Katakana(Large Font)  (Medium Font)  (Small Font)
JIS X0208 Hiragana, Katakana, and Symbols(Large Font)  (Medium Font)  (Small Font)
JIS X0208 Kanji Level 1(Large Font)  (Medium Font)  (Small Font)
JIS X0208 Kanji Level 2(Large Font)  (Medium Font)  (Small Font)
DS External(Large Font)  (Medium Font)  (Small Font)
Wii External(Large Font)  (Medium Font)  (Small Font)

Revision History

2008/09/16 Initial version.


CONFIDENTIAL