allow for higher characters, use the height from the actual font
authorDana Jansens <danakj@orodu.net>
Wed, 4 Jun 2003 22:18:01 +0000 (22:18 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 4 Jun 2003 22:18:01 +0000 (22:18 +0000)
render2/font.c

index 341d26788dfd86be90377bc2a7fe57176db5f145..3a37c8241836375b5519cddfdc75d0f16ec74e9f 100644 (file)
@@ -44,7 +44,7 @@ int RrFontMeasureString(struct RrFont *font, const char *string)
 
 int RrFontHeight(struct RrFont *font)
 {
-    return font->height;
+    return GlftFontHeight(font->font);
 }
 
 int RrFontMaxCharWidth(struct RrFont *font)