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>
15TWL-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>
21The 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 <a href="../na/sharedFont/about_sharedFont.html">Internal Fonts</a> 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.
22</P>
23
24<H2>License</H2>
25<P>
26The TWL Bitmap Font can be freely used for NITRO or TWL applications. The use of effects like shadows or outlines is also acceptable.
27</P>
28
29<H2>Location</H2>
30<P>
31TWL 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.
32</P>
33
34<table class="table">
35<thead>
36<tr><th>File Name<th><STRONG>Content</STRONG>
37</thead>
38<tbody>
39<tr><th>tbf_ww_l.NFTR<td>Large TWL bitmap font
40<tr><th>tbf_ww_m.NFTR<td>Medium TWL bitmap font
41<tr><th>tbf_ww_s.NFTR<td>Small TWL bitmap font
42</tbody>
43</table>
44
45<H2>Font Parameters</H2>
46<P>
47The 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.
48</P>
49
50<table class="table">
51<thead>
52<tr><th>Size<th>Large<th>Medium<th>Small
53</thead>
54<tbody>
55<tr><th>Data size<td>618,676 bytes<td>353,536 bytes<td>220,968 bytes
56<tr><th>Cell width<td>16 px<td>12 px<td>10 px
57<tr><th>Cell height<td>21 px<td>16 px<td>12 px
58<tr><th>Baseline position<td>17 px<td>13 px<td>11 px
59<tr><th>Maximum character width<td>17 px<td>13 px<td>11 px
60<tr><th>Linefeed size<td>21 px<td>16 px<td>12 px
61<tr><th>bpp<td colspan="3">2 bits/pixel (4 levels)
62<tr><th>Alternate characters<td colspan="3">U+0020 (Half-width space)
63<tr><th>Encoding<td colspan="3">UTF-16
64</tbody>
65</table>
66
67<H2>Character Sets</H2>
68<P>
69The internal fonts more or less cover the following character sets. The encoding is UTF-16.
70</P>
71<ul>
72<li>ASCII
73<li>ISO 8859-1
74<li>ISO 8859-7
75<li>CP 932
76<li>CP 1252
77<li>CP 1253
78<li>JIS X0201
79<li>JIS X0208
80<li>DS External
81<li>Wii External
82</ul>
83
84
85<H2>Glyph Images</H2>
86<P>
87Links to glyph lists for each font are listed below for reference.
88</P>
89<table class="table">
90<thead>
91<tr><th>Glyph type<th>Glyph image
92</thead>
93<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>
94<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>
95<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>
96<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>
97<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>
98<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>
99<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>
100<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>
101</table>
102
103
104<H2>Revision History</H2>
105<P>
1062008/09/16 Initial version.
107</P>
108
109<hr><p>CONFIDENTIAL</p></body>
110</HTML>
111