Home
last modified time | relevance | path

Searched refs:numPointsInGlyph (Results 1 – 3 of 3) sorted by relevance

/external/fonttools/Tests/ttLib/tables/
DTupleVariation_test.py381 compilePoints = lambda p: TupleVariation.compilePoints(set(p), numPointsInGlyph=999)
403 numPointsInGlyph = 65536
404 allPoints = list(range(numPointsInGlyph))
406 … points, offset = TupleVariation.decompilePoints_(numPointsInGlyph, deHexStr(data), offset, "gvar")
445 numPointsInGlyph = 8
447 decompilePoints(numPointsInGlyph,
453 numPointsInGlyph = 500 # greater than 255, so we also exercise code path for 16-bit encoding
454 compile = lambda points: TupleVariation.compilePoints(points, numPointsInGlyph)
455 …decompile = lambda data: set(TupleVariation.decompilePoints_(numPointsInGlyph, data, 0, "gvar")[0])
457 points = set(random.sample(range(numPointsInGlyph), 30))
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
D_g_v_a_r.py108 numPointsInGlyph = self.getNumPoints_(glyph)
111 numPointsInGlyph, sharedCoords, axisTags, gvarData)
184 numPointsInGlyph = self.getNumPoints_(glyph)
190 gvar = TupleVariation({}, [None] * numPointsInGlyph)
DTupleVariation.py150 numPointsInGlyph = len(self.coordinates)
151 auxData = self.compilePoints(points, numPointsInGlyph) + self.compileDeltas(points)
193 def compilePoints(points, numPointsInGlyph): argument
196 if len(points) == numPointsInGlyph: