| 
|   | ColoredConsoleFont (const Image &image, ConsoleFontFormat format, Vector2i size={ 0u, 0u }) | 
|   | Load a console font from an image.  More...
  | 
|   | 
|   | ColoredConsoleFont (const Path &filename, ConsoleFontFormat format, Vector2i size={ 0u, 0u }) | 
|   | Load a console font from a file.  More...
  | 
|   | 
| const BareTexture *  | getTexture () const override | 
|   | Get the texture of the console font.  More...
  | 
|   | 
|   | ConsoleFont () | 
|   | Constructor.  More...
  | 
|   | 
|   | ConsoleFont (const Image &image, ConsoleFontFormat format, Vector2i size) | 
|   | Constructor.  More...
  | 
|   | 
| virtual  | ~ConsoleFont () | 
|   | Destructor.  More...
  | 
|   | 
| ConsoleFontFormat  | getFormat () const | 
|   | Get the format of the font.  More...
  | 
|   | 
| Vector2i  | getSize () const | 
|   | Get the size of the fonts.  More...
  | 
|   | 
| Vector2i  | getCharacterSize () const | 
|   | Get the size of the characters.  More...
  | 
|   | 
| void  | mapCode (char16_t c, Vector2i position) | 
|   | Map a character to a position in the font.  More...
  | 
|   | 
| void  | mapCodeRange (char16_t c, int count, Vector2i position) | 
|   | Map a range of characters to consecutive positions in the font.  More...
  | 
|   | 
| void  | mapString (StringRef str, Vector2i position) | 
|   | Map characters from a string to consecutive positions in the font.  More...
  | 
|   | 
| void  | mapElement (ConsoleFontElement element) | 
|   | Map an element in the font.  More...
  | 
|   | 
| void  | mapElements (ArrayRef< ConsoleFontElement > elements) | 
|   | Map some elements in the font.  More...
  | 
|   | 
| void  | clearMapping () | 
|   | Clear the mapping.  More...
  | 
|   | 
| RectI  | getSubTexture (char16_t c) const | 
|   | Get the sub-texture rectangle.  More...
  | 
|   | 
| RectF  | getTextureRect (char16_t c) const | 
|   | Get the texture rectangle for a character.  More...
  | 
|   | 
A colored console font. 
This class handles colored fonts such as the fonts created for Dwarf Fortress.