diff --git a/src/gui/Font.h b/src/gui/Font.h index 300c4b2..9e1a6f9 100644 --- a/src/gui/Font.h +++ b/src/gui/Font.h @@ -10,6 +10,7 @@ class Font public: bool load(const char * fname, int size); std::shared_ptr get_glyph(FT_ULong character); + int get_advance() { return m_advance; } protected: bool preload_glyphs();