FNTSetAlternateChar

Syntax

#include <revolution/fnt.h>

BOOL FNTSetAlternateChar( FNTHeader* font, const char* string );

Arguments

font Pointer to the font data buffer.
Initialization using FNTConstruct or FNTStreamingConstruct is required.
string Character code of the new alternate character.

Return Values

Returns TRUE if the alternate character is changed successfully; otherwise, returns FALSE. Fails if there is no glyph in the font corresponding to the specified alternate character.

Description

Changes the alternate character for the font. An alternate character is a character that is used in place of a character that is not included in the font.

See Also

Revision History

2008/04/14 Initial version.


CONFIDENTIAL