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>FNTSetEncoding</TITLE>
8</HEAD>
9<BODY>
10<H1>FNTSetEncoding</H1>
11
12<H2>Syntax</H2>
13<dl><dd><pre class="construction">
14#include &lt;revolution/fnt.h&gt;
15
16<A href="FNTEncoding.html">FNTEncoding</A> FNTSetEncoding( <A href="FNTHeader.html">FNTHeader</A>* font, <A href="FNTEncoding.html">FNTEncoding</A> encoding );
17</pre></dd></dl>
18
19<H2>Arguments</H2>
20<TABLE class="arguments" border="1" >
21  <TBODY>
22    <TR>
23<TH>font</TH>
24<TD>Pointer to the font data buffer.<BR>Initialization using <A href="FNTConstruct.html"><CODE>FNTConstruct</CODE></A> or <A href="FNTStreamingConstruct.html"><CODE>FNTStreamingConstruct</CODE></A> is required.</TD>
25    </TR>
26    <TR>
27<TH>encoding</TH>
28<TD>Character encoding method.</TD>
29    </TR>
30  </TBODY>
31</TABLE>
32
33<H2>Return Values</H2>
34<P>Returns the previous encoding method.</P>
35
36<H2>Description</H2>
37<P>Sets the character encoding method.<BR>The character encoding method affects the operation of <A href="FNTGetTexture.html"><CODE>FNTGetTexture</CODE></A> and <A href="FNTGetWidth.html"><CODE>FNTGetWidth</CODE></A>.</P>
38
39<H2>See Also</H2>
40<P class="reference">
41<A href="FNTGetEncoding.html">FNTGetEncoding</A>,
42<A href="FNTGetTexture.html">FNTGetTexture</A>,
43<A href="FNTGetWidth.html">FNTGetWidth</A>
44</P>
45
46<H2>Revision History</H2>
47<P>
482006/10/01 Initial version.<BR>
49</P>
50
51<hr><p>CONFIDENTIAL</p></body>
52</HTML>