(ft_open): Set type and fontp members.
authorhanda <handa>
Fri, 13 Aug 2004 11:28:44 +0000 (11:28 +0000)
committerhanda <handa>
Fri, 13 Aug 2004 11:28:44 +0000 (11:28 +0000)
src/font-ft.c

index bab716c..c1b3031 100644 (file)
@@ -503,6 +503,8 @@ ft_open (MRealizedFont *rfont)
   rfont->status = 1;
   rfont->ascent = ft_info->ft_face->ascender >> 6;
   rfont->descent = - (ft_info->ft_face->descender >> 6);
+  rfont->type = Mfreetype;
+  rfont->fontp = ft_info->ft_face;
   return 0;
 
  err: