1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>TWL Bitmap Font</TITLE>
8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11
12<H1 align="left">TWL Bitmap Font</H1>
13<H2>Overview</H2>
14<P>
15The TWL-SDK includes a font resource called the TWL bitmap font.
16</P>
17<P>
18The 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.
19</P>
20<P>
21You can convert NITRO fonts into bitmap format by using <CODE>fontcvtr.exe</CODE> in TWL-System. When doing so, use the TWL bitmap font table for the character order file (XLOR).
22</P>
23<P>
24The TWL bitmap font is built into the TWL system as one of the system's internal fonts.<BR>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.<BR>See <a href="../na/sharedFont/about_sharedFont.html">Internal Fonts</a> for more about the system's internal fonts. However, extended fonts for the Korean systems are large, so they are not embedded in the system. Include them in SRL.<BR>Also, card applications cannot use the system's internal fonts, so be sure to include them in the SRL.
25</P>
26
27<H2>License</H2>
28<P>
29You can use the TWL bitmap font freely for NITRO or TWL applications. For fonts other than those in Chinese versions, the use of effects such as shadows or outlines is also acceptable. Do not modify Chinese version fonts.
30</P>
31
32<H2>Location</H2>
33<P>
34TWL bitmap fonts are in the TWL-SDK <CODE>$TwlSDK/data/font</CODE> directory. There are 3 NFTR in this directory. However, the glyph designs are all the same; only size differs.
35</P>
36
37<P>
38Chinese versions and Korean versions use the same glyphs for both Medium and Small size fonts; visually, character sizes do not change.
39</P>
40
41<table class="table float_left">
42<caption>Fonts for worldwide systems</caption>
43<thead>
44<tr><th>Filename<th>Description
45</thead>
46<tbody>
47<tr><th>tbf_ww_l.NFTR<td>Large TWL bitmap font
48<tr><th>tbf_ww_m.NFTR<td>Medium TWL bitmap font
49<tr><th>tbf_ww_s.NFTR<td>Small TWL bitmap font
50</tbody>
51</table>
52
53<table class="table float_left">
54<caption>Fonts for Chinese systems</caption>
55<thead>
56<tr><th>Filename<th>Description
57</thead>
58<tbody>
59<tr><th>tbf_cn_l.NFTR<td>Large TWL bitmap font
60<tr><th>tbf_cn_m.NFTR<td>Medium TWL bitmap font
61<tr><th>tbf_cn_s.NFTR<td>Small TWL bitmap font
62</tbody>
63</table>
64
65<table class="table float_left">
66<caption>Fonts for Korean systems</caption>
67<thead>
68<tr><th>Filename<th>Description
69</thead>
70<tbody>
71<tr><th>tbf_kr_l.NFTR<td>Large TWL bitmap font
72<tr><th>tbf_kr_m.NFTR<td>Medium TWL bitmap font
73<tr><th>tbf_kr_s.NFTR<td>Small TWL bitmap font
74</tbody>
75</table>
76
77<table class="table float_left">
78<caption>Extended fonts for Korean systems</caption>
79<thead>
80<tr><th>Filename<th>Description
81</thead>
82<tbody>
83<tr><th>tbf_kr_ex_l.NFTR<td>Large TWL bitmap font
84<tr><th>tbf_kr_ex_m.NFTR<td>Medium TWL bitmap font
85<tr><th>tbf_kr_ex_s.NFTR<td>Small TWL bitmap font
86</tbody>
87</table>
88
89<br clear="all">
90
91<H2>Font Parameters</H2>
92<P>
93The NITRO Font parameters for the TWL bitmap font are shown in the table below. See the documentation for TWL-System for the meaning of the various terms.
94</P>
95
96<table class="table float_left">
97<caption>Fonts for worldwide systems</caption>
98<thead>
99<tr><th>Size<th>Large<th>Medium<th>Small
100</thead>
101<tbody>
102<tr><th>Data size<td>668,280 bytes<td>403,140 bytes<td>270,572 bytes
103<tr><th>Cell width<td>16 px<td>12 px<td>10 px
104<tr><th>Cell height<td>21 px<td>16 px<td>12 px
105<tr><th>Baseline position<td>17 px<td>13 px<td>10 px
106<tr><th>Maximum character width<td>17 px<td>13 px<td>11 px
107<tr><th>Linefeed size<td>21 px<td>16 px<td>12 px
108<tr><th>bpp<td colspan="3">2 bits/pixel (4 levels)
109<tr><th>Alternate characters<td colspan="3">U+0020 (half-width space)
110<tr><th>Encoding<td colspan="3">UTF-16
111</tbody>
112</table>
113
114<table class="table float_left">
115<caption>Fonts for Chinese systems</caption>
116<thead>
117<tr><th>Size<th>Large<th>Medium<th>Small
118</thead>
119<tbody>
120<tr><th>Data size<td>712,264 bytes<td>429,736 bytes<td>359,104 bytes
121<tr><th>Cell width<td>16 px<td>12 px<td>12 px
122<tr><th>Cell height<td>21 px<td>16 px<td>13 px
123<tr><th>Baseline position<td>17 px<td>13 px<td>11 px
124<tr><th>Maximum character width<td>16 px<td>13 px<td>12 px
125<tr><th>Linefeed size<td>21 px<td>16 px<td>13 px
126<tr><th>bpp<td colspan="3">2 bit/pixel (two tones, two intermediate colors not used)
127<tr><th>Alternate characters<td colspan="3">U+0020 (half-width space)
128<tr><th>Encoding<td colspan="3">UTF-16
129</tbody>
130</table>
131
132<table class="table float_left">
133<caption>Fonts for Korean systems (common with extended fonts)</caption>
134<thead>
135<tr><th>Size<th>Large<th>Medium<th>Small
136</thead>
137<tbody>
138<tr><th>Data size<td>332,220 bytes<td>199,776 bytes<td>155,628 bytes
139<tr><th>Cell width<td>16 px<td>12 px<td>12 px
140<tr><th>Cell height<td>21 px<td>16 px<td>12 px
141<tr><th>Baseline position<td>17 px<td>13 px<td>10 px
142<tr><th>Maximum character width<td>16 px<td>12 px<td>12 px
143<tr><th>Linefeed size<td>21 px<td>16 px<td>12 px
144<tr><th>bpp<td colspan="3">2 bit/pixel (two tones, two intermediate colors not used)
145<tr><th>Alternate characters<td colspan="3">U+0020 (half-width space)
146<tr><th>Encoding<td colspan="3">UTF-16
147</tbody>
148</table>
149
150<br clear="all">
151
152<H2>Character Sets</H2>
153<P>
154The internal fonts more or less cover the following character sets. The encoding is UTF-16.
155</P>
156
157<table class="table">
158<thead>
159<tr><th>Fonts for worldwide systems<th>Fonts for Chinese systems<th>Fonts for Korean systems<th>Extended fonts for Korean systems
160</thead>
161<tbody>
162<tr><td>
163  <ul>
164<li>ASCII
165<li>ISO 8859-1
166<li>ISO 8859-7
167<li>CP 932
168<li>CP 1252
169<li>CP 1253
170<li>JIS X0201
171<li>JIS X0208
172<li>DS External
173<li>Wii External
174  </ul>
175<td>
176  <ul>
177<li>ASCII
178<li>ISO 8859-1
179<li>ISO 8859-7
180<li>CP 1252
181<li>CP 1253
182<li>Full Width ASCII 94
183<li>Hirakana Katakana 169
184<li>Hanzi Common Level1 2500
185<li>Hanzi Common Level2 998
186<li>GB2312
187<li>DS External
188<li>Wii External
189  </ul>
190<td>
191  <ul>
192<li>ASCII
193<li>ISO 8859-1
194<li>ISO 8859-7
195<li>CP 1252
196<li>CP 1253
197<li>Full Width ASCII 94
198<li>Hirakana Katakana 169
199<li>Hangul Symbol 539
200<li>Hangul Jamo Compatibility 94
201<li>KSX1001 2350
202<li>DS External
203<li>Wii External
204  </ul>
205<td>
206  <ul>
207<li>Fonts for Korean systems
208<li>Hangul Additional 8822
209  </ul>
210</tbody>
211</table>
212
213<H2>Glyph Images</H2>
214<P>
215Links to glyph lists for each font are listed below for reference.
216</P>
217<P>
218A known bug is that a 1-pixel right-side space normally provided for other characters is not allocated for U+E06B (&quot;?&quot;, the fifth character from the right in the third row) in small Wii external fonts for Chinese system fonts. Be aware that Nintendo has no plans to fix this in the future.
219</P>
220<table class="table float_left">
221<caption>Fonts for worldwide systems</caption>
222<thead>
223<tr><th>Glyph type<th>Glyph image
224</thead>
225<tr><th>ASCII<td><a href="tbf/ascii_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf/ascii_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf/ascii_s.png">(Small Font)</a>
226<tr><th>Western European characters<td><a href="tbf/european_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf/european_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf/european_s.png">(Small Font)</a>
227<tr><th>JIS X0201 Katakana<td><a href="tbf/x0201_kana_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf/x0201_kana_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf/x0201_kana_s.png">(Small Font)</a>
228<tr><th>JIS X0208 Hiragana, Katakana, and Symbols<td><a href="tbf/x0208_phonogram_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf/x0208_phonogram_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf/x0208_phonogram_s.png">(Small Font)</a>
229<tr><th>JIS X0208 Kanji Level 1<td><a href="tbf/x0208_level1_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf/x0208_level1_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf/x0208_level1_s.png">(Small Font)</a>
230<tr><th>JIS X0208 Kanji Level 2<td><a href="tbf/x0208_level2_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf/x0208_level2_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf/x0208_level2_s.png">(Small Font)</a>
231<tr><th>DS External<td><a href="tbf/ds_extension_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf/ds_extension_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf/ds_extension_s.png">(Small Font)</a>
232<tr><th>Wii External<td><a href="tbf/wii_extension_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf/wii_extension_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf/wii_extension_s.png">(Small Font)</a>
233</table>
234
235<table class="table float_left">
236<caption>Fonts for Chinese systems</caption>
237<thead>
238<tr><th>Glyph type<th>Glyph image
239</thead>
240<tr><th>ASCII<td><a href="tbf_cn/ascii_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_cn/ascii_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_cn/ascii_s.png">(Small Font)</a>
241<tr><th>Western European characters<td><a href="tbf_cn/european_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_cn/european_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_cn/european_s.png">(Small Font)</a>
242<tr><th>Full Width ASCII 94<td><a href="tbf_cn/Full_Width_Ascii_94_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_cn/Full_Width_Ascii_94_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_cn/Full_Width_Ascii_94_s.png">(Small Font)</a>
243<tr><th>Hirakana Katakana 169<td><a href="tbf_cn/Hirakana_Katakana_16_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_cn/Hirakana_Katakana_16_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_cn/Hirakana_Katakana_16_s.png">(Small Font)</a>
244<tr><th>Hanzi Common Level1<td><a href="tbf_cn/Hanzi_Common_Level1_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_cn/Hanzi_Common_Level1_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_cn/Hanzi_Common_Level1_s.png">(Small Font)</a>
245<tr><th>Hanzi Common Level2<td><a href="tbf_cn/Hanzi_Common_Level2_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_cn/Hanzi_Common_Level2_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_cn/Hanzi_Common_Level2_s.png">(Small Font)</a>
246<tr><th>GB2312<td><a href="tbf_cn/GB2312_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_cn/GB2312_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_cn/GB2312_s.png">(Small Font)</a>
247<tr><th>DS External<td><a href="tbf_cn/ds_extension_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_cn/ds_extension_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_cn/ds_extension_s.png">(Small Font)</a>
248<tr><th>Wii External<td><a href="tbf_cn/wii_extension_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_cn/wii_extension_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_cn/wii_extension_s.png">(Small Font)</a>
249</table>
250
251<table class="table float_left">
252<caption>Fonts for Korean systems</caption>
253<thead>
254<tr><th>Glyph type<th>Glyph image
255</thead>
256<tr><th>ASCII<td><a href="tbf_kr/ascii_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_kr/ascii_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_kr/ascii_s.png">(Small Font)</a>
257<tr><th>Western European characters<td><a href="tbf_kr/european_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_kr/european_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_kr/european_s.png">(Small Font)</a>
258<tr><th>Full Width ASCII 94<td><a href="tbf_kr/Full_Width_Ascii_94_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_kr/Full_Width_Ascii_94_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_kr/Full_Width_Ascii_94_s.png">(Small Font)</a>
259<tr><th>Hirakana Katakana 169<td><a href="tbf_kr/Hirakana_Katakana_16_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_kr/Hirakana_Katakana_16_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_kr/Hirakana_Katakana_16_s.png">(Small Font)</a>
260<tr><th>Hangul Symbol 539<td><a href="tbf_kr/Hangul_Symbol_539_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_kr/Hangul_Symbol_539_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_kr/Hangul_Symbol_539_s.png">(Small Font)</a>
261<tr><th>Hangul Jamo Compatibility 94<td><a href="tbf_kr/Hangul_Jamo_Compatibility_94_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_kr/Hangul_Jamo_Compatibility_94_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_kr/Hangul_Jamo_Compatibility_94_s.png">(Small Font)</a>
262<tr><th>KSX1001 2350<td><a href="tbf_kr/KSX1001_2350_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_kr/KSX1001_2350_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_kr/KSX1001_2350_s.png">(Small Font)</a>
263<tr><th>DS External<td><a href="tbf_kr/ds_extension_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_kr/ds_extension_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_kr/ds_extension_s.png">(Small Font)</a>
264<tr><th>Wii External<td><a href="tbf_kr/wii_extension_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_kr/wii_extension_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_kr/wii_extension_s.png">(Small Font)</a>
265</table>
266
267<table class="table float_left">
268<caption>Extended fonts for Korean systems</caption>
269<thead>
270<tr><th>Glyph type<th>Glyph image
271</thead>
272<tr><th>Hangul Additional 8822<td><a href="tbf_kr/Hangul_Additional_8822_l.png">(Large Font)</a>&nbsp;&nbsp;<a href="tbf_kr/Hangul_Additional_8822_m.png">(Medium Font)</a>&nbsp;&nbsp;<a href="tbf_kr/Hangul_Additional_8822_s.png">(Small Font)</a>
273</table>
274
275<br clear="all">
276
277<H2>Revision History</H2>
278<P>
2792009/07/06 Added extended font information for Korea.<BR> 2009/06/24 Corrected data sizes for worldwide systems; corrected baseline position for small size to 10; added description of <CODE>fontcvtr.exe</CODE> order file; added description of font information for China and Korea.<BR> 2008/09/16 Initial version.
280</P>
281
282<hr><p>CONFIDENTIAL</p></body>
283</HTML>
284