mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 23:11:04 +01:00
[FT] Adapt to new face API
This commit is contained in:
1 parent
458c89a856
commit
de1e1cf9bc
1 file changed
+3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user