Lines Matching refs:gsub
1142 def _getSubstitutions(gsub, lookupIndices): argument
1144 for index, lookup in enumerate(gsub.LookupList.Lookup):
1231 gsub = font["GSUB"].table
1232 featureVariations = gsub.FeatureVariations
1245 substitutions = _getSubstitutions(gsub, lookupIndices)
1249 appliedLookupIndices = gsub.FeatureList.FeatureRecord[0].Feature.LookupListIndex
1251 assert _getSubstitutions(gsub, appliedLookupIndices) == appliedSubs
1281 gsub = font["GSUB"].table
1282 assert not hasattr(gsub, "FeatureVariations")
1285 lookupIndices = gsub.FeatureList.FeatureRecord[0].Feature.LookupListIndex
1286 assert _getSubstitutions(gsub, lookupIndices) == appliedSubs
1288 assert not gsub.FeatureList.FeatureRecord