nn::pl::CTR::MountSharedFont Functionnn::Result MountSharedFont( const char * archiveName, SharedFontType sharedFontType, size_t maxFile, size_t maxDirectory, void * workingMemory, size_t workingMemorySize );
| 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. |
| Value | Description |
|---|---|
| nn::pl::ResultSharedFontNotFound | The specified shared font was not found. |
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.
For SystemUpdater 0.17.x and later versions, the built-in China, Korea, and Taiwan system fonts have been changed in the following ways from earlier versions:
The bcfnt file included with the CTR SDK contains the same content as the built-in system fonts. You can avoid the above-mentioned problem by using this file.
CONFIDENTIAL