diff --git a/src/calibre/utils/fonts/sfnt/gsub.py b/src/calibre/utils/fonts/sfnt/gsub.py index aa634b59a2..826a26657e 100644 --- a/src/calibre/utils/fonts/sfnt/gsub.py +++ b/src/calibre/utils/fonts/sfnt/gsub.py @@ -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