Home
last modified time | relevance | path

Searched refs:featureMap (Results 1 – 2 of 2) sorted by relevance

/external/fonttools/Lib/fontTools/
Dmerge.py804 def mapFeatures(self, featureMap): argument
805 self.FeatureIndex = [featureMap[i] for i in self.FeatureIndex]
807 self.ReqFeatureIndex = featureMap[self.ReqFeatureIndex]
810 def mapFeatures(self, featureMap): argument
812 self.DefaultLangSys.mapFeatures(featureMap)
815 l.LangSys.mapFeatures(featureMap)
818 def mapFeatures(self, featureMap): argument
821 s.Script.mapFeatures(featureMap)
1066 featureMap = {i:v for i,v in enumerate(t.table.FeatureList.FeatureRecord)}
1067 t.table.ScriptList.mapFeatures(featureMap)
[all …]
/external/fonttools/Lib/fontTools/mtiLib/
D__init__.py100 def parseScriptList(lines, featureMap=None): argument
113 setReference(mapFeature, featureMap, defaultFeature, setattr, langSys, 'ReqFeatureIndex')
119 setReference(mapFeature, featureMap, sym, setitem, theList, i)
150 def parseFeatureList(lines, lookupMap=None, featureMap=None): argument
156 if featureMap is not None:
157 assert name not in featureMap, "Duplicate feature name: %s" % name
158 featureMap[name] = len(self.FeatureRecord)
868 featureMap = DeferredMapping()
876 lambda lines: parseScriptList (lines, featureMap)),
879 lambda lines: parseFeatureList (lines, lookupMap, featureMap)),
[all …]