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>FNTConstruct</TITLE>
8</HEAD>
9<BODY>
10<H1>FNTConstruct</H1>
11
12<H2>Syntax</H2>
13<dl><dd><pre class="construction">
14#include &lt;revolution/fnt.h&gt;
15
16BOOL FNTConstruct( <A href="FNTHeader.html">FNTHeader</A>* font, void* resource );
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>The buffer must be of the size obtained by the function <A href="FNTGetDataSize.html"><CODE>FNTGetDataSize</CODE></A>.<BR>Must be 32-byte aligned.</TD>
25    </TR>
26    <TR>
27<TH>resource</TH>
28<TD>Pointer to the font resource data loaded into memory.<BR>The entire font resource must be loaded.<BR>Memory in which the font resource is loaded can be freed after this function completes execution.<BR>Must be 32-byte aligned.</TD>
29    </TR>
30  </TBODY>
31</TABLE>
32
33<H2>Return Values</H2>
34<P><CODE>TRUE</CODE> if successfully completes; <CODE>FALSE</CODE> if font data is not available for use.</P>
35
36<H2>Description</H2>
37<P>Expands the font resource data loaded into memory.</P>
38<P>Using the <A href="FNTInitStreamingConstruct.html"><CODE>FNTInitStreamingConstruct</CODE></A> and <A href="FNTStreamingConstruct.html"><CODE>FNTStreamingConstruct</CODE></A> functions as a pair instead of using the <CODE>FNTConstruct</CODE> function allows the font to be expanded without using memory equal in size to the font resource prior to expansion.</P>
39
40<H2>See Also</H2>
41<P class="reference">
42<A href="FNTGetDataSize.html">FNTGetDataSize</A>,
43<A href="FNTInitStreamingConstruct.html">FNTInitStreamingConstruct</A>,
44<A href="FNTStreamingConstruct.html">FNTStreamingConstruct</A>
45</P>
46
47<H2>Revision History</H2>
48<P>
492006/10/01 Initial version.<BR>
50</P>
51
52<hr><p>CONFIDENTIAL</p></body>
53</HTML>