Searched refs:GlyphCoordinates (Results 1 – 8 of 8) sorted by relevance
/external/fonttools/Tests/ttLib/tables/ |
D | _g_l_y_f_test.py | 9 GlyphCoordinates, 32 g = GlyphCoordinates([(1,2)]) 34 assert g == GlyphCoordinates([(1.5,2.0)]) 37 g = GlyphCoordinates([(1,2)]) 39 assert g == GlyphCoordinates([(0.5,0.0)]) 42 g = GlyphCoordinates([(1,2)]) 44 assert g[0] == GlyphCoordinates([(0.9,1.0)])[0] 47 g = GlyphCoordinates([(1,2)]) 48 g2 = GlyphCoordinates([(1.0,2)]) 49 g3 = GlyphCoordinates([(1.5,2)]) [all …]
|
/external/fonttools/Lib/fontTools/pens/ |
D | ttGlyphPen.py | 9 from fontTools.ttLib.tables._g_l_y_f import GlyphCoordinates 160 glyph.coordinates = GlyphCoordinates(self.points)
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _g_l_y_f.py | 332 coords = GlyphCoordinates( 389 glyph.coordinates = GlyphCoordinates(coord) 610 coordinates = GlyphCoordinates() 710 self.coordinates = coordinates = GlyphCoordinates.zeros(nCoordinates) 1008 allCoords = GlyphCoordinates() 1017 coordinates = GlyphCoordinates(coordinates) 1054 return GlyphCoordinates(), [], array.array("B") 1433 class GlyphCoordinates(object): class 1466 return GlyphCoordinates([(0,0)] * count) 1469 c = GlyphCoordinates(typecode=self._a.typecode) [all …]
|
/external/fonttools/Lib/fontTools/varLib/ |
D | mutator.py | 11 from fontTools.ttLib.tables._g_l_y_f import GlyphCoordinates, flagOverlapSimple, OVERLAP_COMPOUND 207 coordinates += GlyphCoordinates(delta) * scalar
|
D | __init__.py | 26 from fontTools.ttLib.tables._g_l_y_f import GlyphCoordinates 257 deltas = model.getDeltas(allCoords, round=partial(GlyphCoordinates.__round__, round=round))
|
/external/fonttools/Lib/fontTools/varLib/instancer/ |
D | __init__.py | 342 coordinates += _g_l_y_f.GlyphCoordinates(defaultDeltas)
|
/external/fonttools/Lib/fontTools/ttLib/ |
D | woff2.py | 829 glyph.coordinates = getTableModule('glyf').GlyphCoordinates.zeros(nPoints)
|
/external/fonttools/ |
D | NEWS.rst | 995 - [glyf] Ensure ``GlyphCoordinates`` never overflow signed shorts (#1230). 1341 - [_g_l_y_f.GlyphCoordinates] Changed ``__bool__()`` semantics to match those 1365 - [_g_l_y_f] Fixed loss of precision in GlyphCoordinates by using 'd' (double)
|