Home
last modified time | relevance | path

Searched refs:feature_indices (Results 1 – 2 of 2) sorted by relevance

/external/fonttools/Lib/fontTools/
Dsubset.py905 feature_indices = [i for i,f in enumerate(self.FeatureRecord)
908 self.subset_features(feature_indices)
909 return feature_indices
912 def collect_lookups(self, feature_indices): argument
914 for i in feature_indices
918 def subset_features(self, feature_indices): argument
920 self.FeatureRecord = [self.FeatureRecord[i] for i in feature_indices]
926 def subset_features(self, feature_indices): argument
927 if self.ReqFeatureIndex in feature_indices:
928 self.ReqFeatureIndex = feature_indices.index(self.ReqFeatureIndex)
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-layout.cc502 unsigned int feature_indices[32]; in _hb_ot_layout_collect_lookups_features() local
507 len = ARRAY_LENGTH (feature_indices); in _hb_ot_layout_collect_lookups_features()
513 feature_indices); in _hb_ot_layout_collect_lookups_features()
518 feature_indices[i], in _hb_ot_layout_collect_lookups_features()
522 } while (len == ARRAY_LENGTH (feature_indices)); in _hb_ot_layout_collect_lookups_features()