summaryrefslogtreecommitdiff
path: root/src/gui/truetypefont.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/truetypefont.h')
-rw-r--r--src/gui/truetypefont.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/truetypefont.h b/src/gui/truetypefont.h
index 7974a953..97fd7f08 100644
--- a/src/gui/truetypefont.h
+++ b/src/gui/truetypefont.h
@@ -63,6 +63,13 @@ class TrueTypeFont : public gcn::Font
virtual int getHeight() const;
/**
+ * Returns the height of a line of text. This is not the visual height
+ * as returned by getHeight() but the recommended spacing between lines
+ * of text.
+ */
+ int getLineHeight() const;
+
+ /**
* @see Font::drawString
*/
void drawString(gcn::Graphics *graphics,