From: Dana Jansens Date: Wed, 4 Jun 2003 22:18:01 +0000 (+0000) Subject: allow for higher characters, use the height from the actual font X-Git-Tag: gl-oldtheme~45 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=dd233b8b6b080a227d89cd6cedb88f8c3a9eda66;p=dana%2Fopenbox.git allow for higher characters, use the height from the actual font --- diff --git a/render2/font.c b/render2/font.c index 341d2678..3a37c824 100644 --- a/render2/font.c +++ b/render2/font.c @@ -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)