From 3fdc113b5faa47ddab344b345556f03e3427afa5 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sun, 10 Jul 2016 16:31:32 -0400 Subject: [PATCH] add Font::get_line_height() --- src/gui/Font.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/Font.h b/src/gui/Font.h index 9e1a6f9..62c101e 100644 --- a/src/gui/Font.h +++ b/src/gui/Font.h @@ -11,6 +11,7 @@ public: bool load(const char * fname, int size); std::shared_ptr get_glyph(FT_ULong character); int get_advance() { return m_advance; } + int get_line_height() { return m_line_height; } protected: bool preload_glyphs();