Home
last modified time | relevance | path

Searched refs:glyphMap (Results 1 – 9 of 9) sorted by relevance

/external/fonttools/Lib/fontTools/otlLib/
Dbuilder.py7 def buildCoverage(glyphs, glyphMap): argument
11 self.glyphs = sorted(glyphs, key=glyphMap.__getitem__)
127 def buildBaseArray(bases, numMarkClasses, glyphMap): argument
130 for base in sorted(bases, key=glyphMap.__getitem__):
154 def buildCursivePosSubtable(attach, glyphMap): argument
160 self.Coverage = buildCoverage(attach.keys(), glyphMap)
196 def buildLigatureArray(ligs, numMarkClasses, glyphMap): argument
199 for lig in sorted(ligs, key=glyphMap.__getitem__):
216 def buildMarkArray(marks, glyphMap): argument
220 for mark in sorted(marks.keys(), key=glyphMap.__getitem__):
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DC_O_L_R_.py66 glyphMap = []
69 glyphMap.append(struct.pack(">HHH", gid, len(layerMap), len(layers)))
73 …dataList = [struct.pack(">HHLLH", self.version, len(glyphMap), 14, 14+6*len(glyphMap), len(layerMa…
74 dataList.extend(glyphMap)
/external/fonttools/Lib/fontTools/feaLib/
Dbuilder.py56 self.glyphMap = font.getReverseGlyphMap()
108 self.parseTree = Parser(self.file, self.glyphMap).parse()
472 otl.buildAttachList(self.attachPoints_, self.glyphMap)
475 self.glyphMap)
518 return otl.buildMarkGlyphSetsDef(sets, self.glyphMap)
1111 self.glyphMap = font.getReverseGlyphMap()
1154 coverage = otl.buildCoverage(p, self.glyphMap)
1161 coverage = otl.buildCoverage(s, self.glyphMap)
1168 coverage = otl.buildCoverage(g, self.glyphMap)
1365 st = otl.buildCursivePosSubtable(self.attachments, self.glyphMap)
[all …]
/external/fonttools/Tests/otlLib/
Dbuilder_test.py122 }, numMarkClasses=4, glyphMap=self.GLYPHMAP)
278 }, numMarkClasses=4, glyphMap=self.GLYPHMAP)
/external/fonttools/Tests/ttLib/tables/
DotTables_test.py569 glyphMap = {g: i for i, g in enumerate(glyphOrder)}
571 oldSubTable = buildMarkBasePosSubtable(marks, bases, glyphMap)
/external/fonttools/Tests/feaLib/
Dparser_test.py56 glyphMap = {'a': 0, 'b': 1, 'c': 2}
59 parser = Parser(UnicodeIO(), glyphMap=glyphMap)
68 Parser, UnicodeIO(), ("a",), glyphMap={"a": 0})
/external/fonttools/
DNEWS.rst525 instead of ``glyphMap`` dict. The latter still works but with a pending
DPKG-INFO942 instead of ``glyphMap`` dict. The latter still works but with a pending
/external/fonttools/Lib/fonttools.egg-info/
DPKG-INFO942 instead of ``glyphMap`` dict. The latter still works but with a pending