# NNS_G2dFontGetGlyphIndex

## Syntax

      #include <nnsys/g2d/g2d_Font.h>

      u16 NNS_G2dFontGetGlyphIndex(
      	const NNSG2dFont* pFont,
      	u16 c
      );

## Arguments

pFont | [IN] Pointer to font
c | [IN] Character code of the character to get the glyph index for.

## Return Values

Returns the glyph index.

## Description

Gets the glyph index of the glyph corresponding to c. If there is no glyph corresponding to c, returns the glyph index of the alternate character.

## See Also

`NNS_G2dFontFindGlyphIndex`

## Revision History

2005/05/25 Initial version.

CONFIDENTIAL