Skip to content

Commit a01194a

Browse files
committed
Enable two OpenType features, 'Harf' and 'Buzz'
One early, before script-specific features, one late, after. Allows font developers to detect us and behave differently if needed.
1 parent 55468ca commit a01194a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/hb-ot-shape.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,13 @@ hb_ot_shape_collect_features (hb_ot_shape_planner_t *planner,
132132
/* Random! */
133133
map->enable_feature (HB_TAG ('r','a','n','d'), F_RANDOM, HB_OT_MAP_MAX_VALUE);
134134

135+
map->enable_feature (HB_TAG('H','a','r','f'));
136+
135137
if (planner->shaper->collect_features)
136138
planner->shaper->collect_features (planner);
137139

140+
map->enable_feature (HB_TAG('B','u','z','z'));
141+
138142
for (unsigned int i = 0; i < ARRAY_LENGTH (common_features); i++)
139143
map->add_feature (common_features[i]);
140144

0 commit comments

Comments
 (0)