Lines Matching refs:gsub
1465 def _getSubstitutions(gsub, lookupIndices): argument
1467 for index, lookup in enumerate(gsub.LookupList.Lookup):
1554 gsub = font["GSUB"].table
1555 featureVariations = gsub.FeatureVariations
1568 substitutions = _getSubstitutions(gsub, lookupIndices)
1572 appliedLookupIndices = gsub.FeatureList.FeatureRecord[0].Feature.LookupListIndex
1574 assert _getSubstitutions(gsub, appliedLookupIndices) == appliedSubs
1604 gsub = font["GSUB"].table
1605 assert not hasattr(gsub, "FeatureVariations")
1608 lookupIndices = gsub.FeatureList.FeatureRecord[0].Feature.LookupListIndex
1609 assert _getSubstitutions(gsub, lookupIndices) == appliedSubs
1611 assert not gsub.FeatureList.FeatureRecord