Lines Matching refs:Feature
70 # for feature 'aalt'
82 # for feature 'size'
184 # We are starting a lookup rule inside a feature. This includes
195 feature = [(script, lang, feature, lookups)
196 for (script, lang, feature), lookups
198 if feature == name]
200 if not feature and name != "aalt":
201 raise FeatureLibError("Feature %s has not been defined" % name,
203 for script, lang, feature, lookups in feature:
216 self.features_ = {(script, lang, feature): lookups
217 for (script, lang, feature), lookups
219 if feature != "aalt"}
326 # For featureNames block, nameID is 'feature tag'
327 # For cvParameters blocks, nameID is ('feature tag', 'block name')
546 scripts = {} # 'latn' --> {'DEU': [23, 24]} for feature #23,24
547 # Sort the feature table by feature tag:
568 frec.Feature = otTables.Feature()
569 frec.Feature.FeatureParams = self.buildFeatureParams(
571 frec.Feature.LookupListIndex = list(lookup_indices)
572 frec.Feature.LookupCount = len(lookup_indices)
618 # OpenType Feature File Specification, section 4.b.i
640 # OpenType Feature File specification, 4.b.i. languagesystem:
643 # statement were present at the beginning of the feature file:
704 "within \"feature %s\"" % self.cur_feature_name_, location)
720 "specified feature %s as its required feature" % (
770 "within \"feature %s\"" % self.cur_feature_name_, location)
828 'Feature references are only allowed inside "feature aalt"',
860 "within \"feature %s\"" % self.cur_feature_name_, location)
875 # OpenType feature file syntax, section 5.d, "Ligature substitution":
1567 # the Feature File spec explicitly allows specific pairs generated