# NA_GetSharedFontSize

## Syntax

      #include <twl/na.h>

      int NA_GetSharedFontSize( NASharedFontIndex index );

## Arguments

index | Index specifying the internal font for which the data size will be obtained.

## Return Values

Returns the font's data size if processing completed successfully.
Returns a negative value if the function failed.

- The `NA_InitSharedFont` function has not been called.
- The `NA_LoadSharedFontTable` function has not been called.
- The index is an illegal value.
- It is running on the Nintendo DS system.

## Description

Gets the data size of the internal font.
The internal font's data size is guaranteed not to be changed in the future in that same region.
You must call the `NA_LoadSharedFontTable` function before calling this function.

This function is exclusive to NAND applications. It cannot be used by card applications.

## See Also

## Revision History

2008/11/06 Added mention that the font's data size is fixed for each separate region.
2008/09/16 Initial version.

CONFIDENTIAL