#include <revolution/fnt.h> void FNTInitStreamingConstruct( FNTHeader* font, u32 dataSize );
| font | Pointer to the font data buffer. The buffer must be of the size obtained by the function FNTGetDataSize.Must be 32-byte aligned. |
|---|---|
| dataSize | Size of the font data buffer. The buffer must be of the size obtained by the function FNTGetDataSize. |
None.
Performs initialization to expand fonts while loading font resources successively.
If the FNTInitStreamingConstruct and FNTStreamingConstruct 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 FNTInitStreamingConstruct function and then make subsequent calls to the FNTStreamingConstruct function every time the data is obtained from disc or NAND.
When loading the entire font resource into memory, the simpler FNTConstruct function can be used.
FNTGetDataSize, FNTStreamingConstruct, FNTConstruct
2006/10/01 Initial version.
CONFIDENTIAL