#include <revolution/os.h>
#define OS_FONT_SIZE_ANSI (288 + 131072) #define OS_FONT_SIZE_SJIS (3840 + 1179648) BOOL OSInitFont(OSFontHeader* fontData);
|
Pointer to the font data buffer that has size OS_FONT_SIZE_* which depends on the font encoding. Must be 32-byte aligned. |
Returns TRUE if ends normally; FALSE if font data is unavailable.
This function loads and expands ROM font data. The OSInitFont function should be used in conjunction with the OSGetFontTexture function. To save main memory space, use the OSLoadFont function instead of the OSInitFont function.
Note: This font is currently used on a provisional basis. It may not be allowed on the product version. For the product version of Revolution, we plan to prepare a new font set that uses the internal flash memory. A new font library for accessing this font will be prepared in future SDKs.
03/01/2006 Initial version.