(ft_open): Fix setting of rfont->descent.
authorhanda <handa>
Thu, 3 Jun 2004 12:07:49 +0000 (12:07 +0000)
committerhanda <handa>
Thu, 3 Jun 2004 12:07:49 +0000 (12:07 +0000)
src/font-ft.c

index 1644662..6c4acca 100644 (file)
@@ -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: