Home
last modified time | relevance | path

Searched refs:glyfTable (Results 1 – 12 of 12) sorted by relevance

/external/fonttools/Tests/ttLib/tables/
D_g_l_y_f_test.py220 glyfTable = font['glyf'] = newTable('glyf')
227 glyfTable.decompile(self.glyfData, font)
236 glyfTable = font['glyf']
237 glyfData = glyfTable.compile(font)
268 glyfTable = newTable("glyf")
269 glyfTable.glyphs = glyphSet
270 glyfTable.glyphOrder = sorted(glyphSet)
272 composite.compact(glyfTable)
280 composite.expand(glyfTable)
290 composite.compact(glyfTable)
[all …]
/external/fonttools/Lib/fontTools/ttLib/
DremoveOverlaps.py75 glyph.recalcBounds(glyfTable=None)
82 glyfTable: _g_l_y_f.table__g_l_y_f,
86 glyph = glyfTable[glyphName]
100 glyfTable[glyphName] = glyph = ttfGlyphFromSkPath(path2)
137 glyfTable = font["glyf"]
154 glyfTable[name].getCompositeMaxpValues(glyfTable).maxComponentDepth
155 if glyfTable[name].isComposite()
163 glyphName, glyphSet, glyfTable, hmtxTable, removeHinting
Dwoff2.py115 glyfTable = self.ttFont['glyf'] = WOFF2GlyfTable()
116 glyfTable.reconstruct(data, self.ttFont)
118 glyfTable.padding = padding
119 data = glyfTable.compile(self.ttFont)
354 glyfTable = self.ttFont['glyf']
355 data = glyfTable.transform(self.ttFont)
997 glyfTable = ttFont["glyf"]
999 glyphOrder = glyfTable.glyphOrder
1021 glyph = glyfTable[glyphName]
1038 glyph = glyfTable[glyphName]
DttFont.py786 glyfTable = self._glyphset._glyphs
789 glyph.draw(pen, glyfTable, offset)
795 glyfTable = self._glyphset._glyphs
798 glyph.drawPoints(pen, glyfTable, offset)
/external/fonttools/Tests/ttLib/
Dwoff2_test.py184 glyfTable = ttLib.newTable('glyf')
185 glyfTable.decompile(font.getTableData('glyf'), font)
186 glyfTable.padding = padding
188 tableData = glyfTable.compile(font)
190 glyfTable.compile(font)
193 glyfTable.compile(font)
739 glyfTable = WOFF2GlyfTable()
740 glyfTable.reconstruct(self.transformedGlyfData, self.font)
741 glyfTable.padding = 4
742 data = glyfTable.compile(self.font)
[all …]
/external/fonttools/Snippets/
Ddecompose-ttf.py29 glyfTable = f["glyf"] variable
33 if not glyfTable[glyphName].isComposite():
51 glyfTable[glyphName] = ttPen.glyph()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_m_a_x_p.py59 glyfTable = ttFont['glyf']
62 self.numGlyphs = len(glyfTable)
76 g = glyfTable[glyphName]
89 nPoints, nContours, componentDepth = g.getCompositeMaxpValues(glyfTable)
D_g_l_y_f.py526 def compact(self, glyfTable, recalcBBoxes=True): argument
527 data = self.compile(glyfTable, recalcBBoxes)
531 def expand(self, glyfTable): argument
548 self.decompileComponents(data, glyfTable)
552 def compile(self, glyfTable, recalcBBoxes=True): argument
556 self.expand(glyfTable)
562 self.recalcBounds(glyfTable)
565 data = data + self.compileComponents(glyfTable)
649 def getCompositeMaxpValues(self, glyfTable, maxComponentDepth=1): argument
655 baseGlyph = glyfTable[compo.glyphName]
[all …]
D_v_h_e_a.py52 glyfTable = ttFont['glyf']
54 g = glyfTable[name]
60 g.recalcBounds(glyfTable)
D_h_h_e_a.py66 glyfTable = ttFont['glyf']
68 g = glyfTable[name]
74 g.recalcBounds(glyfTable)
/external/fonttools/Tests/pens/
DttGlyphPen_test.py20 glyfTable = font['glyf']
33 oldGlyph.compile(glyfTable), newGlyph.compile(glyfTable))
/external/fonttools/Lib/fontTools/varLib/instancer/
D__init__.py1062 def setMacOverlapFlags(glyfTable): argument
1065 for glyphName in glyfTable.keys():
1066 glyph = glyfTable[glyphName]