[FT] Adapt to new face API

This commit is contained in:
Behdad Esfahbod 2011-08-09 00:19:38 +02:00
parent 458c89a856
commit de1e1cf9bc
1 changed files with 3 additions and 0 deletions

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); 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; return face;
} }