Home | History | Annotate | Download | only in fontTools

Lines Matching refs:feature_indices

905   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):
914 for i in feature_indices
918 def subset_features(self, feature_indices):
920 self.FeatureRecord = [self.FeatureRecord[i] for i in feature_indices]
926 def subset_features(self, feature_indices):
927 if self.ReqFeatureIndex in feature_indices:
928 self.ReqFeatureIndex = feature_indices.index(self.ReqFeatureIndex)
931 self.FeatureIndex = [f for f in self.FeatureIndex if f in feature_indices]
933 self.FeatureIndex = [feature_indices.index(f) for f in self.FeatureIndex
934 if f in feature_indices]
941 feature_indices = self.FeatureIndex[:]
943 feature_indices.append(self.ReqFeatureIndex)
944 return _uniq_sort(feature_indices)
947 def subset_features(self, feature_indices):
949 not self.DefaultLangSys.subset_features(feature_indices)):
952 if l.LangSys.subset_features(feature_indices)]
958 feature_indices = [l.LangSys.collect_features() for l in self.LangSysRecord]
960 feature_indices.append(self.DefaultLangSys.collect_features())
961 return _uniq_sort(sum(feature_indices, []))
964 def subset_features(self, feature_indices):
966 if s.Script.subset_features(feature_indices)]
979 feature_indices = self.table.ScriptList.collect_features()
981 feature_indices = []
983 lookup_indices = self.table.FeatureList.collect_lookups(feature_indices)
1017 feature_indices = self.table.FeatureList.subset_lookups(lookup_indices)
1019 feature_indices = []
1021 self.table.ScriptList.subset_features(feature_indices)
1028 feature_indices = self.table.ScriptList.collect_features()
1030 feature_indices = []
1032 lookup_indices = self.table.FeatureList.collect_lookups(feature_indices)
1045 feature_indices = [i for i,f in
1048 self.table.FeatureList.subset_features(feature_indices)
1050 feature_indices = []
1052 self.table.ScriptList.subset_features(feature_indices)
1059 feature_indices = self.table.ScriptList.collect_features()
1061 feature_indices = []
1063 self.table.FeatureList.subset_features(feature_indices)
1065 self.table.ScriptList.subset_features(feature_indices)