Searched refs:compilePoints (Results 1 – 2 of 2) sorted by relevance
/external/fonttools/Tests/ttLib/tables/ |
D | TupleVariation_test.py | 381 compilePoints = lambda p: TupleVariation.compilePoints(set(p), numPointsInGlyph=999) function 382 self.assertEqual("00", hexencode(compilePoints(range(999)))) # all points in glyph 383 self.assertEqual("01 00 07", hexencode(compilePoints([7]))) 384 self.assertEqual("01 80 FF FF", hexencode(compilePoints([65535]))) 385 self.assertEqual("02 01 09 06", hexencode(compilePoints([9, 15]))) 386 self.assertEqual("06 05 07 01 F7 02 01 F2", hexencode(compilePoints([7, 8, 255, 257, 258, 500]))) 387 self.assertEqual("03 01 07 01 80 01 EC", hexencode(compilePoints([7, 8, 500]))) 388 self.assertEqual("04 01 07 01 81 BE E7 0C 0F", hexencode(compilePoints([7, 8, 0xBEEF, 0xCAFE]))) 394 hexencode(compilePoints(range(300)))) 400 hexencode(compilePoints(range(399)))) [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | TupleVariation.py | 151 auxData = self.compilePoints(points, numPointsInGlyph) + self.compileDeltas(points) 193 def compilePoints(points, numPointsInGlyph): member in TupleVariation 533 …data = sharedPointVariation.compilePoints(usedPoints, len(sharedPointVariation.coordinates)) + byt…
|