# NNS_G2dFontGetMaxCharWidth

## Syntax

      #include <nnsys/g2d/g2d_Font.h>

      u8 NNS_G2dFontGetMaxCharWidth(
      	const NNSG2dFont* pFont
      );

## Arguments

pFont | [IN] Pointer to font

## Return Values

Returns the maximum character width in the font ( in pixels).

## Description

Gets the maximum character width (left space + glyph width + right space) of all those in the font.

For vertically written fonts, gets the maximum character height within the font.

## See Also

`NNS_G2dFontGetCellWidth`

## Revision History

2007/03/14 Added support for vertically written/vertically held fonts.
2005/05/25 Initial version.

CONFIDENTIAL