diff options
Diffstat (limited to 'guilib/GUIFontTTF.h')
-rw-r--r-- | guilib/GUIFontTTF.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guilib/GUIFontTTF.h b/guilib/GUIFontTTF.h index 277c1378c1..e39455946f 100644 --- a/guilib/GUIFontTTF.h +++ b/guilib/GUIFontTTF.h @@ -92,6 +92,7 @@ protected: float GetCharWidthInternal(character_t ch); float GetTextHeight(float lineSpacing, int numLines) const; float GetLineHeight(float lineSpacing) const; + float GetFontHeight() const { return m_height; } void DrawTextInternal(float x, float y, const vecColors &colors, const vecText &text, uint32_t alignment, float maxPixelWidth, bool scrolling); |