Added LineHeight function.
diff --git a/include/FTFont.h b/include/FTFont.h
index 5b3d9e4..94f722b 100755
--- a/include/FTFont.h
+++ b/include/FTFont.h
@@ -136,7 +136,14 @@ class FTGL_EXPORT FTFont
* @return Descender height
*/
float Descender() const;
-
+
+ /**
+ * Gets the line spacing for the font.
+ *
+ * @return Line Height
+ */
+ float LineHeight() const;
+
/**
* Get the bounding box for a string.
*
diff --git a/src/FTFont.cpp b/src/FTFont.cpp
index b0beb5f..9a8ee7a 100755
--- a/src/FTFont.cpp
+++ b/src/FTFont.cpp
@@ -121,6 +121,10 @@ float FTFont::Descender() const
return charSize.Descender();
}
+float FTFont::LineHeight() const
+{
+ return charSize.Height();
+}
void FTFont::BBox( const char* string,
float& llx, float& lly, float& llz, float& urx, float& ury, float& urz)