From: Dmitry Timoshkov Subject: [1/3] gdi32: Set ntmCellHeight from font header. Message-Id: <20120504193259.7dbd69b4.dmitry@baikal.ru> Date: Fri, 4 May 2012 19:32:59 +0900 --- dlls/gdi32/freetype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index 3de31f6..b82db36 100644 --- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -6635,7 +6635,7 @@ static BOOL get_outline_text_metrics(GdiFont *font) descent = pOS2->usWinDescent; } - font->ntmCellHeight = ascent + descent; + font->ntmCellHeight = ft_face->height; font->ntmAvgWidth = pOS2->xAvgCharWidth; if(font->yMax) { -- 1.7.9.4