OSGetFontEncode

C Specification

#include <revolution/os.h>
#define OS_FONT_ENCODE_ANSI     0u
#define OS_FONT_ENCODE_SJIS     1u

u16 OSGetFontEncode( void);

Arguments

None.

Return Values

OS_FONT_ENCODE_ANSI for non-Japanese Revolution systems.
OS_FONT_ENCODE_SJIS for Japanese Revolution systems (including JP mode development hardware).

Description

Checks encoding of the text character font based on the Revolution system type. Only Japanese Revolution systems (including JP mode development hardware) return OS_FONT_ENCODE_SJIS. Based on this information, OS font functions switch the font image.

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.

See Also

Font Functions

Revision History

03/01/2006 Initial version.