[FT] Adapt to new face API

This commit is contained in:
Behdad Esfahbod committed 2011-08-09 00:19:38 +02:00
1 parent 458c89a856
commit de1e1cf9bc
1 file changed
+3
+3
View File
@@ -293,6 +293,9 @@ hb_ft_face_create (FT_Face ft_face,
face = hb_face_create_for_tables (reference_table, ft_face, destroy);
}
hb_face_set_index (face, ft_face->face_index);
hb_face_set_upem (face, ft_face->units_per_EM);
return face;
}