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<H2>C Specification</H2>
12<DL>
13  <DD>
14<PRE><CODE>#include &lt;revolution/os.h&gt;</CODE></PRE>
15  <DD>
16<PRE>#define OS_FONT_ENCODE_ANSI     0u
17#define OS_FONT_ENCODE_SJIS     1u
18
19u16 OSGetFontEncode( void);</PRE>
20</DL>
21<H2>Arguments</H2>
22<P>None.</P>
23<H2>Return Values</H2>
24<P><code>OS_FONT_ENCODE_ANSI</code> for non-Japanese Revolution systems.<br><code>OS_FONT_ENCODE_SJIS</code> for Japanese Revolution systems (including JP mode development hardware).</P>
25<H2>Description</H2>
26<P>Checks encoding of the text character font based on the Revolution system type. Only Japanese Revolution systems (including JP mode development hardware) return <code>OS_FONT_ENCODE_SJIS</code>. Based on this information, OS font functions switch the font image.</P>
27
28<P><STRONG>Note: </STRONG><font color="red">This font is currently used on a provisional basis. It may not be allowed on the product version. </font>For the product version of Revolution, we plan to prepare a new font set that uses the internal flash memory.  A new font library for accessing this font will be prepared in future SDKs. </p>
29<H2>See Also</H2>
30<P><A target="contents" href="../toc.html#Font">Font Functions</A></P>
31<H2>Revision History</H2>
32<P>03/01/2006 Initial version.</P>
33</BODY>
34</HTML>