#include <revolution/fnt.h> u32 FNTGetDataSize( void* resource );
| resource | Pointer to the start of font resource data loaded into memory. If font resources are expanded while being loaded successively into memory, at least the first FNT_RESOURCE_HEADER_SIZE (= 16 KB) worth of data must be loaded.Must be 32-byte aligned. |
|---|
If execution ends normally, this function returns the size of the font data buffer required to use the font. Returns 0 if the font data cannot be used.
Gets the font data buffer size required to use the font.
The buffer size required to use a font is the same when using FNTConstruct() as it is when using the combination FNTInitStreamingConstruct() and FNTStreamingConstruct().
FNTConstruct, FNTInitStreamingConstruct, FNTStreamingConstruct
2006/10/01 Initial version.
CONFIDENTIAL