This commit is contained in:
Kovid Goyal 2013-01-17 12:25:59 +05:30
parent ffb202d93a
commit 671ee036c6

View File

@ -68,7 +68,7 @@ class LigatureSubstitution(UnknownLookupSubTable):
ans = set()
for start_glyph_id, index in gid_index_map.iteritems():
for glyph_id, components in self.coverage_to_lig_map[index]:
components = (start_glyph_id,) + (components)
components = (start_glyph_id,) + components
if set(components).issubset(glyph_ids):
ans.add(glyph_id)
return ans