NNS_G2dFontSetAlternateChar

Syntax


#include <nnsys/g2d/g2d_Font.h>

BOOL NNS_G2dFontSetAlternateChar(
	NNSG2dFont* pFont,
	u16 c
);

Arguments

pFont [IN] Pointer to font
c [IN] Character code of the new alternate character

Return Values

If the alternate character is successfully replaced, returns TRUE. If there is no glyph in the font corresponding to c, it fails.

Description

Changes the font's alternate character. Using NNS_G2dFontSetAlternateGlyphIndex you can specify the alternate character with its glyph index.

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

See Also

NNS_G2dFontSetAlternateGlyphIndex, NNS_G2dFontGetAlternateGlyphIndex

Revision History

2005/05/25 Initial version.


CONFIDENTIAL