Offers utility features to work with fonts. More...
Static Public Member Functions | |
static nkMemory::BufferCast< nkMemory::String > | getAvailableFontFaces (System *system=nullptr) |
static nkMemory::BufferCast< unsigned int > | getCharactersWidth (nkMemory::BufferView< char > characters, Font *font=nullptr, System *system=nullptr) |
Offers utility features to work with fonts.
|
static |
Retrieves the currently installed font face names.
system | The system to query for. If nullptr, will query for the singleton instance. |
|
static |
Retrieve the requested character widths, in pixels.
characters | An array of the characters to retrieve the width from. |
font | The font to use for width retrieval. If left to nullptr, will use the default font. |
system | The system to query for. If nullptr, will query for the singleton instance. |