Home
last modified time | relevance | path

Searched refs:glyphOrder (Results 1 – 13 of 13) sorted by relevance

/external/fonttools/Lib/fontTools/ttLib/tables/
D_p_o_s_t.py68 glyphOrder = self.glyphOrder
69 del self.glyphOrder
70 return glyphOrder
73 self.glyphOrder = standardGlyphOrder[:ttFont["maxp"].numGlyphs]
91 self.glyphOrder = glyphOrder = [None] * int(ttFont['maxp'].numGlyphs)
99 glyphOrder[glyphID] = name
104 glyphOrder[i] = "glyph#%.5d" % i
105 self.extraNames.append(glyphOrder[i])
112 glyphName = psName = self.glyphOrder[i]
118 self.glyphOrder[i] = glyphName
[all …]
DsbixBitmapSet.py67 glyphOrder = ttFont.getGlyphOrder()
70 …bitmapOffset = sbixBitmapSetHeaderFormatSize + sbixBitmapOffsetEntryFormatSize * (len(glyphOrder) …
71 for glyphName in glyphOrder:
108 glyphOrder = ttFont.getGlyphOrder()
109 for i in range(len(glyphOrder)):
110 if glyphOrder[i] in self.bitmaps:
111 self.bitmaps[glyphOrder[i]].toXML(xmlWriter, ttFont)
D_h_d_m_x.py17 glyphOrder = ttFont.getGlyphOrder()
25 widths[glyphOrder[glyphID]] = byteord(data[glyphID+2])
33 glyphOrder = ttFont.getGlyphOrder()
41 for glyphID in range(len(glyphOrder)):
42 width = widths[glyphOrder[glyphID]]
D_h_m_t_x.py36 glyphOrder = ttFont.getGlyphOrder()
38 glyphName = glyphOrder[i]
42 glyphName = glyphOrder[i + numberOfMetrics]
DotTables.py46 glyphOrder = font.getGlyphOrder()
73 endID = len(glyphOrder)
74 glyphs.extend(glyphOrder[glyphID] for glyphID in range(startID, endID))
223 glyphOrder = font.getGlyphOrder()
232 startID = len(glyphOrder)
234 if endID > len(glyphOrder):
238 endID = len(glyphOrder)
241 classDefs[glyphOrder[glyphID]] = cls
262 endID = len(glyphOrder)
264 classDefs[glyphOrder[glyphID]] = cls
D_g_l_y_f.py39 self.glyphOrder = glyphOrder = ttFont.getGlyphOrder()
42 glyphName = glyphOrder[i]
63 self.glyphOrder = ttFont.getGlyphOrder()
68 for glyphName in self.glyphOrder:
120 self.glyphOrder = ttFont.getGlyphOrder()
136 def setGlyphOrder(self, glyphOrder): argument
137 self.glyphOrder = glyphOrder
140 return self.glyphOrder[glyphID]
144 return self.glyphOrder.index(glyphName)
161 if glyphName not in self.glyphOrder:
[all …]
DC_O_L_R_.py24 glyphOrder = ttFont.getGlyphOrder()
38 layerName = glyphOrder[layerGid]
47 names = list(map(operator.getitem, [glyphOrder]*numBaseGlyphRecords, gids))
DV_O_R_G_.py31 glyphOrder = ttFont.getGlyphOrder()
33 names = map(operator.getitem, [glyphOrder]*self.numVertOriginYMetrics, gids)
DC_F_F_.py36 def setGlyphOrder(self, glyphOrder): argument
D_c_m_a_p.py369 glyphOrder = self.ttFont.getGlyphOrder()
374 names = list(map(operator.getitem, [glyphOrder]*lenCmap, gids ))
691 glyphOrder = self.ttFont.getGlyphOrder()
693 names = list(map(operator.getitem, [glyphOrder]*lenCmap, gids ))
836 glyphOrder = self.ttFont.getGlyphOrder()
838 names = list(map(operator.getitem, [glyphOrder]*lenArray, glyphIndexArray ))
920 glyphOrder = self.ttFont.getGlyphOrder()
922 names = list(map(operator.getitem, [glyphOrder]*lenCmap, gids ))
/external/fonttools/Lib/fontTools/ttLib/
D__init__.py424 def setGlyphOrder(self, glyphOrder): argument
425 self.glyphOrder = glyphOrder
429 return self.glyphOrder
434 self.glyphOrder = cff.getGlyphOrder()
437 glyphOrder = self['post'].getGlyphOrder()
438 if glyphOrder is None:
446 self.glyphOrder = glyphOrder
449 return self.glyphOrder
480 glyphOrder = [None] * numGlyphs
481 glyphOrder[0] = ".notdef"
[all …]
/external/fonttools/Lib/fontTools/
Dmerge.py726 for font,glyphOrder in zip(fonts, glyphOrders):
727 font.setGlyphOrder(glyphOrder)
768 for n,glyphOrder in enumerate(glyphOrders):
769 for i,glyphName in enumerate(glyphOrder):
771 glyphOrder[i] = glyphName
Dsubset.py1299 g = self[self.glyphOrder[0]]
1308 indices = [i for i,g in enumerate(self.glyphOrder) if g in s.glyphs]
1314 self.glyphOrder = [g for g in self.glyphOrder if g in s.glyphs]
2039 glyphOrder = font.getGlyphOrder()
2040 glyphOrder = [g for g in glyphOrder if g in self.glyphs_all]
2041 font.setGlyphOrder(glyphOrder)