add Font::get_advance()
This commit is contained in:
1 parent
f31c1c2532
commit
c147cbad3f
1 file changed
+1
@@ -10,6 +10,7 @@ class Font
|
||||
public:
|
||||
bool load(const char * fname, int size);
|
||||
std::shared_ptr<Glyph> get_glyph(FT_ULong character);
|
||||
int get_advance() { return m_advance; }
|
||||
|
||||
protected:
|
||||
bool preload_glyphs();
|
||||
|
||||
Reference in new issue
Block a user