Home
last modified time | relevance | path

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

/external/fonttools/Lib/fontTools/ttLib/tables/
DV_O_R_G_.py96 def __getitem__(self, glyphSelector): argument
97 if isinstance(glyphSelector, int):
99 glyphSelector = self.getGlyphName(glyphSelector)
101 if glyphSelector not in self.VOriginRecords:
104 return self.VOriginRecords[glyphSelector]
106 def __setitem__(self, glyphSelector, value): argument
107 if isinstance(glyphSelector, int):
109 glyphSelector = self.getGlyphName(glyphSelector)
112 self.VOriginRecords[glyphSelector] = value
113 elif glyphSelector in self.VOriginRecords:
[all …]
DC_O_L_R_.py119 def __getitem__(self, glyphSelector): argument
120 if isinstance(glyphSelector, int):
122 glyphSelector = self.getGlyphName(glyphSelector)
124 if glyphSelector not in self.ColorLayers:
127 return self.ColorLayers[glyphSelector]
129 def __setitem__(self, glyphSelector, value): argument
130 if isinstance(glyphSelector, int):
132 glyphSelector = self.getGlyphName(glyphSelector)
135 self.ColorLayers[glyphSelector] = value
136 elif glyphSelector in self.ColorLayers:
[all …]