[FT] Adapt to new face API
This commit is contained in:
parent
458c89a856
commit
de1e1cf9bc
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue