mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
ffb202d93a
commit
671ee036c6
@ -68,7 +68,7 @@ class LigatureSubstitution(UnknownLookupSubTable):
|
|||||||
ans = set()
|
ans = set()
|
||||||
for start_glyph_id, index in gid_index_map.iteritems():
|
for start_glyph_id, index in gid_index_map.iteritems():
|
||||||
for glyph_id, components in self.coverage_to_lig_map[index]:
|
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):
|
if set(components).issubset(glyph_ids):
|
||||||
ans.add(glyph_id)
|
ans.add(glyph_id)
|
||||||
return ans
|
return ans
|
||||||
|
Loading…
x
Reference in New Issue
Block a user