nn::font::PackedFont Classclass PackedFont : public nn::font::ArchiveFontBase
A class that stores compressed font resources in memory and expands them as necessary when glyphs are requested.
| Constructors/Destructors | ||
|---|---|---|
PackedFont
|
Constructor. | |
| V |
~PackedFont
|
Destructor. |
| Binding/Releasing Resources | ||
Construct
|
Extracts the glyph group from the archive font and constructs a font. | |
InitStreamingConstruct
|
Performs initialization to construct a font by extracting glyph groups successively loaded from the archive font. | |
StreamingConstruct
|
Constructs a font from successive loads from the archive font. | |
Destroy
|
Discards the font. | |
| S |
GetRequireBufferSize
|
Calculates the buffer size required to construct the font. |
| Cache Management | ||
GetNumCache
|
Gets the number of caches. | |
PreloadSheet
|
Loads a sheet into cache in advance. | |
LockSheet
|
Prevents sheets in cache from being discarded. | |
UnlockSheet
|
Unlocks a sheet. | |
UnlockSheetAll
|
Unlocks all sheets. | |
| Getting Character Data | ||
| V |
GetGlyph
|
Gets glyph data. |
| Getting Sheet Information | ||
| protected V |
GetActiveSheetNum
|
Gets the number of active sheets. |
nn::font::Font
nn::font::ResFontBase
nn::font::ArchiveFontBase
nn::font::PackedFont
CONFIDENTIAL