From c147cbad3f5252b494e7010458e424812d71589e Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Fri, 8 Jul 2016 21:01:20 -0400 Subject: [PATCH] add Font::get_advance() --- src/gui/Font.h | 1 + 1 file changed, 1 insertion(+) 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();