提交 e81d7afe 编写于 作者: B Behdad Esfahbod

Add hb_face_get_upem()

上级 d47f79db
......@@ -397,6 +397,12 @@ hb_face_get_table (hb_face_t *face,
return blob;
}
unsigned int
hb_face_get_upem (hb_face_t *face)
{
return (face->head_table ? face->head_table : &Null(head))->get_upem ();
}
/*
* hb_font_t
......
......@@ -78,6 +78,9 @@ hb_blob_t *
hb_face_get_table (hb_face_t *face,
hb_tag_t tag);
unsigned int
hb_face_get_upem (hb_face_t *face);
/*
* hb_font_funcs_t
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册