# NA_LoadSharedFont

## Syntax

      #include <twl/na.h>

      BOOL NA_LoadSharedFont( NASharedFontIndex index, void *pBuffer );

## Arguments

index | Index that specifies the internal font to load.
pBuffer | Pointer to the buffer in which the internal font will be loaded.

## Return Values

Returns `TRUE` if processing completed successfully.
The following are possible reasons for the function to fail.

- The `NA_InitSharedFont` function has not been called.
- The `NA_LoadSharedFontTable` function has not been called.
- The index is an illegal value.
- The application is not a NAND application.
- There are no available file handles because they are all in use.
- It is running on the Nintendo DS.

## Description

Loads an internal font into memory. You must call the `NA_LoadSharedFontTable` function before this one.

The buffer size passed to pBuffer must be the value obtained from the `NA_GetSharedFontSize` function. You can release pBuffer when you no longer need the font.

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

## See Also

## Revision History

2008/09/16 Initial version.

CONFIDENTIAL