#include <revolution/os.h> #define OS_FONT_SIZE_ANSI (288 + 131072) #define OS_FONT_SIZE_SJIS (3840 + 1179648) BOOL OSInitFont(OSFontHeader* fontData);
fontData |
Pointer to the font data buffer that has size OS_FONT_SIZE_*, which depends on the font encoding. Must be 32-byte aligned. |
|---|
TRUE if successfully completes; FALSE if font data is not available for use.
Loads and expands ROM font data. The OSInitFont function should be used in conjunction with the OSGetFontTexture function. To conserve main memory, use the OSLoadFont function instead of OSInitFont.
Font Functions
OSGetFontTexture
2006/03/01 Initial version.
CONFIDENTIAL