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 http-equiv="Content-Style-Type" content="text/css">
6<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
7<TITLE>OSGetFontEncode</TITLE>
8</HEAD>
9<BODY>
10<H1>OSGetFontEncode</H1>
11
12<H2>Syntax</H2>
13<dl><dd><pre class="construction">
14#include &lt;revolution/os.h&gt;
15
16#define OS_FONT_ENCODE_ANSI     0u
17#define OS_FONT_ENCODE_SJIS     1u
18
19u16 OSGetFontEncode(void);
20</pre></dd></dl>
21
22<H2>Arguments</H2>
23<P>None.</P>
24
25<H2>Return Values</H2>
26<P><CODE>OS_FONT_ENCODE_ANSI</CODE> for non-Japanese Wii consoles. <BR><CODE>OS_FONT_ENCODE_SJIS</CODE> for Japanese Wii consoles (including JP mode development hardware).</P>
27
28<H2>Description</H2>
29<P>Checks the method of encoding character fonts, based on the Wii console type. Only Japanese Wii consoles (including JP mode development hardware) return <CODE>OS_FONT_ENCODE_SJIS</CODE>. Based on this information, OS font functions switch the font image.</P>
30
31<H2>See Also</H2>
32<P class="reference">
33<A target="contents" href="../toc.html#Font">Font Functions</A>
34</P>
35
36<H2>Revision History</H2>
37<P>
382006/03/01 Initial version.<br>
39</P>
40
41<hr><p>CONFIDENTIAL</p></body>
42</HTML>