add Font::get_advance()

This commit is contained in:
Josh Holtrop 2016-07-08 21:01:20 -04:00
parent f31c1c2532
commit c147cbad3f

View File

@ -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();