# NNS_G2dFontGetCharWidths

## Syntax

      #include <nnsys/g2d/g2d_Font.h>

      const NNSG2dCharWidths* NNS_G2dFontGetCharWidths(
      	const NNSG2dFont* pFont,
      	u16 c
      );

## Arguments

pFont | [IN] Pointer to font
c | [IN] Character code of the character to get character width information for

## Return Values

Returns a pointer to the character width information.

## Description

Gets the character width information for the glyph corresponding to c. If there is no glyph corresponding to c or the glyph does not have its own character width information, gets the default character width for the font.

This function does not support vertically written or vertically held fonts.

## See Also

``

## Revision History

2007/03/14 Added a description of the vertically written/held fonts
2005/05/25 Initial version

CONFIDENTIAL