Colobot
|
Base TTF font with UTF-8 char cache. More...
Public Member Functions | |
CachedFont (std::unique_ptr< CSDLMemoryWrapper > fontFile, int pointSize) | |
Public Attributes | |
std::unique_ptr< CSDLMemoryWrapper > | fontFile |
TTF_Font * | font = nullptr |
std::map< UTF8Char, CharTexture > | cache |
Base TTF font with UTF-8 char cache.