Change: Allow TrueType fonts to provide our private-use glyphs.
This commit is contained in:
@@ -108,9 +108,10 @@ public:
|
||||
/**
|
||||
* Map a character into a glyph.
|
||||
* @param key The character.
|
||||
* @param fallback Allow fallback to the parent font.
|
||||
* @return The glyph ID used to draw the character.
|
||||
*/
|
||||
virtual GlyphID MapCharToGlyph(char32_t key) = 0;
|
||||
virtual GlyphID MapCharToGlyph(char32_t key, bool fallback = true) = 0;
|
||||
|
||||
/**
|
||||
* Read a font table from the font.
|
||||
|
Reference in New Issue
Block a user