#include <revolution/fnt.h> BOOL FNTConstruct( FNTHeader* font, void* resource );
| font | Pointer to the font data buffer. The buffer must be of the size obtained by the function FNTGetDataSize.Must be 32-byte aligned. |
|---|---|
| resource | Pointer to the font resource data loaded into memory. The entire font resource must be loaded. Memory in which the font resource is loaded can be freed after this function completes execution. Must be 32-byte aligned. |
TRUE if successfully completes; FALSE if font data is not available for use.
Expands the font resource data loaded into memory.
Using the FNTInitStreamingConstruct and FNTStreamingConstruct functions as a pair instead of using the FNTConstruct function allows the font to be expanded without using memory equal in size to the font resource prior to expansion.
FNTGetDataSize, FNTInitStreamingConstruct, FNTStreamingConstruct
2006/10/01 Initial version.
CONFIDENTIAL