diff --git a/src/hb-ot-cbdt-table.hh b/src/hb-ot-cbdt-table.hh index 6c2b9a88e..e4519529b 100644 --- a/src/hb-ot-cbdt-table.hh +++ b/src/hb-ot-cbdt-table.hh @@ -377,7 +377,7 @@ struct CBDT { inline void init (hb_face_t *face) { - upem = face->get_upem(); + upem = hb_face_get_upem (face); cblc_blob = Sanitizer().sanitize (face->reference_table (HB_OT_TAG_CBLC)); cbdt_blob = Sanitizer().sanitize (face->reference_table (HB_OT_TAG_CBDT)); diff --git a/src/hb-ot-hmtx-table.hh b/src/hb-ot-hmtx-table.hh index eed489026..b4ba2490c 100644 --- a/src/hb-ot-hmtx-table.hh +++ b/src/hb-ot-hmtx-table.hh @@ -69,7 +69,7 @@ struct hmtxvmtx inline void init (hb_face_t *face, unsigned int default_advance_ = 0) { - default_advance = default_advance_ ? default_advance_ : face->get_upem (); + default_advance = default_advance_ ? default_advance_ : hb_face_get_upem (face); bool got_font_extents = false; if (T::os2Tag)