提交 834af3b4 编写于 作者: B Behdad Esfahbod

[graphite] Remove hb_graphite2_feature_check()

I don't see how this function can be useful.
上级 1f49cf32
......@@ -433,14 +433,4 @@ dieout:
return success;
}
int hb_graphite2_feature_check(const hb_feature_t *feats, unsigned int num_feats)
{
while (num_feats--)
{
if (feats[num_feats].tag == HB_TAG(' ', 'R', 'N', 'D'))
return (feats[num_feats].value == 1);
}
return 1;
}
HB_END_DECLS
......@@ -40,8 +40,6 @@ hb_bool_t hb_graphite_shape (hb_font_t *font,
unsigned int num_features,
const char * const *shaper_options);
int hb_graphite2_feature_check(const hb_feature_t *feats, unsigned int num_feats);
HB_END_DECLS
#endif /* HB_GRAPHITE2_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册