- add_feature (face, table_tag, feature_index, 1, lookups, num_lookups, room_lookups);
+ add_feature (face, table_tag, feature_index, mask, lookups, num_lookups, room_lookups);
+
+ /* Turn mask on in the buffer, the über-slow way! */
+ unsigned int count = buffer->len;
+ for (unsigned int i = 0; i < count; i++) {
+ unsigned int cluster = buffer->info[i].cluster;
+ if (features[i].start <= cluster && cluster < features[i].end)
+ buffer->info[i].mask |= value;
+ }