Add hb_face_get_upem()

This commit is contained in:
Behdad Esfahbod 2010-10-04 18:18:48 -04:00
parent d47f79db92
commit e81d7afe6e
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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