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>FNTInitStreamingConstruct</TITLE>
8</HEAD>
9<BODY>
10<H1>FNTInitStreamingConstruct</H1>
11
12<H2>Syntax</H2>
13<dl><dd><pre class="construction">
14#include &lt;revolution/fnt.h&gt;
15
16void FNTInitStreamingConstruct( <A href="FNTHeader.html">FNTHeader</A>* font, u32 dataSize );
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>dataSize</TH>
28<TD>Size of 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></TD>
29    </TR>
30  </TBODY>
31</TABLE>
32
33<H2>Return Values</H2>
34<P>None.</P>
35
36<H2>Description</H2>
37<P>Performs initialization to expand fonts while loading font resources successively.</P>
38<P>If the <CODE>FNTInitStreamingConstruct</CODE> and <A href="FNTStreamingConstruct.html"><CODE>FNTStreamingConstruct</CODE></A> functions are used as a pair, a font can be expanded from the disc or NAND with only a small read buffer. To expand the font, first initialize with the <CODE>FNTInitStreamingConstruct</CODE> function and then make subsequent calls to the <A href="FNTStreamingConstruct.html"><CODE>FNTStreamingConstruct</CODE></A> function every time the data is obtained from disc or NAND.</P>
39<P>When loading the entire font resource into memory, the simpler <A href="FNTConstruct.html"><CODE>FNTConstruct</CODE></A> function can be used.</P>
40
41<H2>See Also</H2>
42<P class="reference">
43<A href="FNTGetDataSize.html">FNTGetDataSize</A>,
44<A href="FNTStreamingConstruct.html">FNTStreamingConstruct</A>,
45<A href="FNTConstruct.html">FNTConstruct</A>
46</P>
47
48<H2>Revision History</H2>
49<P>
502006/10/01 Initial version.<BR>
51</P>
52
53<hr><p>CONFIDENTIAL</p></body>
54</HTML>