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_.py98 def __getitem__(self, glyphSelector): argument
99 if isinstance(glyphSelector, int):
101 glyphSelector = self.getGlyphName(glyphSelector)
103 if glyphSelector not in self.VOriginRecords:
106 return self.VOriginRecords[glyphSelector]
108 def __setitem__(self, glyphSelector, value): argument
109 if isinstance(glyphSelector, int):
111 glyphSelector = self.getGlyphName(glyphSelector)
114 self.VOriginRecords[glyphSelector] = value
115 elif glyphSelector in self.VOriginRecords:
[all …]
DC_O_L_R_.py121 def __getitem__(self, glyphSelector): argument
122 if isinstance(glyphSelector, int):
124 glyphSelector = self.getGlyphName(glyphSelector)
126 if glyphSelector not in self.ColorLayers:
129 return self.ColorLayers[glyphSelector]
131 def __setitem__(self, glyphSelector, value): argument
132 if isinstance(glyphSelector, int):
134 glyphSelector = self.getGlyphName(glyphSelector)
137 self.ColorLayers[glyphSelector] = value
138 elif glyphSelector in self.ColorLayers:
[all …]