This class will load a list of TTF files from FontManager, and save them inside m_ft_faces for FontWithFace to load glyph.
More...
#include <face_ttf.hpp>
|
void | reset () |
|
void | loadTTF (std::vector< FT_Face > faces) |
|
FT_Face | getFace (unsigned int i) const |
| Return a TTF in m_ft_faces.
|
|
unsigned int | getTotalFaces () const |
| Return the total TTF files loaded.
|
|
void | insertFontArea (const FontArea &a, unsigned font_index, unsigned glyph_index) |
|
bool | enabledForFont (unsigned idx) const |
|
const FontArea * | getFontArea (unsigned font_index, unsigned glyph_index) |
|
bool | getFontAndGlyphFromChar (uint32_t c, unsigned *font, unsigned *glyph) |
|
|
std::vector< std::pair< FT_Face, std::map< unsigned, FontArea > > > | m_ft_faces |
| Contains all FT_Face with a list of loaded glyph index with the FontArea.
|
|
This class will load a list of TTF files from FontManager, and save them inside m_ft_faces for FontWithFace to load glyph.
◆ getFace()
FT_Face FaceTTF::getFace |
( |
unsigned int |
i | ) |
const |
|
inline |
The documentation for this class was generated from the following file: