Searched refs:numPointsInGlyph (Results 1 – 3 of 3) sorted by relevance
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _g_v_a_r.py | 105 numPointsInGlyph = self.getNumPoints_(glyph) 109 numPointsInGlyph, sharedCoords, axisTags, gvarData) 113 glyphName, numPointsInGlyph, 188 numPointsInGlyph = self.getNumPoints_(glyph) 194 gvar = TupleVariation({}, [None] * numPointsInGlyph)
|
D | TupleVariation.py | 153 numPointsInGlyph = len(self.coordinates) 154 auxData = self.compilePoints(points, numPointsInGlyph) + self.compileDeltas(points) 196 def compilePoints(points, numPointsInGlyph): argument 199 if len(points) == numPointsInGlyph:
|
/external/fonttools/Tests/ttLib/tables/ |
D | TupleVariation_test.py | 418 compilePoints = lambda p: TupleVariation.compilePoints(set(p), numPointsInGlyph=999) 440 numPointsInGlyph = 65536 441 allPoints = list(range(numPointsInGlyph)) 443 … points, offset = TupleVariation.decompilePoints_(numPointsInGlyph, deHexStr(data), offset, "gvar") 482 numPointsInGlyph = 8 484 decompilePoints(numPointsInGlyph, 490 numPointsInGlyph = 500 # greater than 255, so we also exercise code path for 16-bit encoding 491 compile = lambda points: TupleVariation.compilePoints(points, numPointsInGlyph) 492 …decompile = lambda data: set(TupleVariation.decompilePoints_(numPointsInGlyph, data, 0, "gvar")[0]) 494 points = set(random.sample(range(numPointsInGlyph), 30)) [all …]
|