From 46a20a9b712df3d67466ca08b261f0d0f50d13a8 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Sat, 7 May 2005 13:58:31 +0000 Subject: [PATCH] Font leading is not the total height of the font git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12584 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/FontFamily.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/servers/app/FontFamily.cpp b/src/servers/app/FontFamily.cpp index 6a5f8573f0..1a4dc83bda 100644 --- a/src/servers/app/FontFamily.cpp +++ b/src/servers/app/FontFamily.cpp @@ -55,7 +55,8 @@ FontStyle::FontStyle(const char *filepath, FT_Face face) fID=0; fHeight.ascent=face->ascender; fHeight.descent=face->descender; - fHeight.leading=face->height; + // TODO: Fix this + fHeight.leading=/*face->height;*/ 0; fHeight.units_per_em=face->units_per_EM; }