nn::pl::CTR::MountSharedFont Function

Syntax

nn::Result MountSharedFont(
     const char * archiveName,
     SharedFontType sharedFontType,
     size_t maxFile,
     size_t maxDirectory,
     void * workingMemory,
     size_t workingMemorySize
);

Arguments

Name Description
in archiveName Specifies the archive name. (Example: "fnt1:")
in sharedFontType Specifies the type of the shared font.
in maxFile Specifies the number of files that can be opened simultaneously.
in maxDirectory Specifies the number of directories that can be opened simultaneously.
in workingMemory Specifies the address of the working region.
in workingMemorySize Specifies the size of the working region.

Return Values

Returns the result.
Value Description
nn::pl::ResultSharedFontNotFound The specified shared font was not found.

Description

Mounts the archive of the shared font.

When using a font other than that which can be obtained with the nn::pl::CTR::GetSharedFontType function, the application itself must mount the archive and open the font file.

The font files included within the archive are as follows. We assume an archive name of "font" when the archive is opened.

The arguments related to mounting are the same as for other mounting interfaces.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL