[ot-shape] Enabled two more features: 'Harf' and 'Buzz'
Considered 'required', as opposed to existing 'HARF' and 'BUZZ', consider them discretionary. See discussion in https://github.com/harfbuzz/harfbuzz/issues/3200
This commit is contained in:
parent
ed1163208d
commit
5a1a6f1fe3
|
@ -362,12 +362,14 @@ hb_ot_shape_collect_features (hb_ot_shape_planner_t *planner,
|
||||||
map->enable_feature (HB_TAG ('t','r','a','k'), F_HAS_FALLBACK);
|
map->enable_feature (HB_TAG ('t','r','a','k'), F_HAS_FALLBACK);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
map->enable_feature (HB_TAG ('H','A','R','F'));
|
map->enable_feature (HB_TAG ('H','a','r','f')); /* Considered required. */
|
||||||
|
map->enable_feature (HB_TAG ('H','A','R','F')); /* Considered discretionary. */
|
||||||
|
|
||||||
if (planner->shaper->collect_features)
|
if (planner->shaper->collect_features)
|
||||||
planner->shaper->collect_features (planner);
|
planner->shaper->collect_features (planner);
|
||||||
|
|
||||||
map->enable_feature (HB_TAG ('B','U','Z','Z'));
|
map->enable_feature (HB_TAG ('B','u','z','z')); /* Considered required. */
|
||||||
|
map->enable_feature (HB_TAG ('B','U','Z','Z')); /* Considered discretionary. */
|
||||||
|
|
||||||
for (unsigned int i = 0; i < ARRAY_LENGTH (common_features); i++)
|
for (unsigned int i = 0; i < ARRAY_LENGTH (common_features); i++)
|
||||||
map->add_feature (common_features[i]);
|
map->add_feature (common_features[i]);
|
||||||
|
|
Loading…
Reference in New Issue