Lines Matching refs:conditionalSubstitutions
16 def addFeatureVariations(font, conditionalSubstitutions, featureTag='rvrn'): argument
48 overlayFeatureVariations(conditionalSubstitutions),
51 def overlayFeatureVariations(conditionalSubstitutions): argument
97 for value,key in conditionalSubstitutions:
103 conditionalSubstitutions = [(v,dict(k)) for k,v in merged.items()]
112 for key,value in reversed(conditionalSubstitutions):
119 conditionalSubstitutions = list(reversed(merged.items()))
127 for i,(currRegion,_) in enumerate(conditionalSubstitutions):
152 substsList.append(conditionalSubstitutions[i][1])
264 def addFeatureVariationsRaw(font, conditionalSubstitutions, featureTag='rvrn'): argument
315 conditionalSubstitutions, allSubstitutions = makeSubstitutionsHashable(conditionalSubstitutions)
322 for conditionSet, substitutions in conditionalSubstitutions:
378 def makeSubstitutionsHashable(conditionalSubstitutions): argument
384 for conditionSet, substitutionMaps in conditionalSubstitutions: