Home
last modified time | relevance | path

Searched refs:ligs (Results 1 – 7 of 7) sorted by relevance

/external/fonttools/Lib/fontTools/otlLib/
Dbuilder.py196 def buildLigatureArray(ligs, numMarkClasses, glyphMap): argument
199 for lig in sorted(ligs, key=glyphMap.__getitem__):
201 for component in ligs[lig]:
266 def buildMarkLigPos(marks, ligs, glyphMap): argument
277 return [buildMarkLigPosSubtable(marks, ligs, glyphMap)]
280 def buildMarkLigPosSubtable(marks, ligs, glyphMap): argument
292 self.LigatureCoverage = buildCoverage(ligs, glyphMap)
293 self.LigatureArray = buildLigatureArray(ligs, self.ClassCount, glyphMap)
/external/fonttools/Tests/ttLib/tables/
DotTables_test.py468 ligs = [otTables.LigAction() for _ in range(3)]
469 for i, lig in enumerate(ligs):
471 t[0].Actions = ligs[1:2]
472 t[1].Actions = ligs[0:3]
473 t[2].Actions = ligs[1:3]
/external/fonttools/Lib/fontTools/ttLib/tables/
DotTables.py1095 ligs = ligSet.Ligature = []
1097 ligs.append(lig)
1123 ligs = []
1124 ligatures[glyphName] = ligs
1133 ligs.append(lig)
DotConverters.py1330 ligs = []
1333 ligs.append(eltAttrs["glyph"])
1334 return ligs
/external/fonttools/Lib/fontTools/feaLib/
Dbuilder.py1417 ligs = {}
1419 ligs[lig] = []
1421 ligs[lig].append({markClasses[mc]: a for mc, a in c.items()})
1422 subtables = otl.buildMarkLigPos(marks, ligs, self.glyphMap)
Dast.py878 ligs = []
886 ligs.append(temp)
887 res += ("\n" + indent + SHIFT + "ligComponent").join(ligs)
/external/fonttools/Tests/feaLib/
Dparser_test.py1444 [_, _, _, langsys, ligs, sub, feature] = doc.statements
1445 self.assertEqual(feature.statements[0].lookups, [ligs, None, sub])
1446 self.assertEqual(feature.statements[1].lookups, [ligs, None, sub])