From: handa Date: Thu, 3 Jun 2004 12:07:49 +0000 (+0000) Subject: (ft_open): Fix setting of rfont->descent. X-Git-Tag: withdl~115 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=26fcc8029a765f3419d749f0112ebe49ec1d112f;p=m17n%2Fm17n-lib.git (ft_open): Fix setting of rfont->descent. --- 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: