diff --git a/src/hb-ot-layout.cc b/src/hb-ot-layout.cc index 125cff748cd7308b9488961a498c79f68de198ef..fd7deb6356036082aeeef072adf47be926cd010a 100644 --- a/src/hb-ot-layout.cc +++ b/src/hb-ot-layout.cc @@ -382,22 +382,6 @@ hb_ot_layout_table_get_feature_tags (hb_face_t *face, return g.get_feature_tags (feature_count, feature_tags); } -hb_bool_t -hb_ot_layout_table_find_feature (hb_face_t *face, - hb_tag_t table_tag, - hb_tag_t feature_tag, - unsigned int *feature_index) -{ - ASSERT_STATIC (NO_INDEX == HB_OT_LAYOUT_NO_FEATURE_INDEX); - const GSUBGPOS &g = get_gsubgpos_table (face, table_tag); - - if (g.find_feature_index (feature_tag, feature_index)) - return TRUE; - - if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; - return FALSE; -} - hb_bool_t hb_ot_layout_script_get_language_tags (hb_face_t *face, diff --git a/src/hb-ot-layout.h b/src/hb-ot-layout.h index d9eb057820f03239637f34a96ace9865e6d54d54..7b1ed6a7def1fadd597de3400879ab60ee726156 100644 --- a/src/hb-ot-layout.h +++ b/src/hb-ot-layout.h @@ -116,12 +116,6 @@ hb_ot_layout_table_get_feature_tags (hb_face_t *face, unsigned int *feature_count /* IN/OUT */, hb_tag_t *feature_tags /* OUT */); -hb_bool_t -hb_ot_layout_table_find_feature (hb_face_t *face, - hb_tag_t table_tag, - hb_tag_t feature_tag, - unsigned int *feature_index); - hb_bool_t hb_ot_layout_script_get_language_tags (hb_face_t *face, hb_tag_t table_tag,