From 26fcc8029a765f3419d749f0112ebe49ec1d112f Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 3 Jun 2004 12:07:49 +0000 Subject: [PATCH] (ft_open): Fix setting of rfont->descent. --- src/font-ft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/font-ft.c b/src/font-ft.c index 1644662..6c4acca 100644 --- a/src/font-ft.c +++ b/src/font-ft.c @@ -502,7 +502,7 @@ ft_open (MRealizedFont *rfont) MDEBUG_PRINT1 (" [FT-FONT] o %s\n", ft_info->filename); rfont->status = 1; rfont->ascent = ft_info->ft_face->ascender >> 6; - rfont->descent = ft_info->ft_face->descender >> 6; + rfont->descent = - (ft_info->ft_face->descender >> 6); return 0; err: -- 1.7.10.4