'Source Serif Pro' font causes crash
brechtm opened this issue · 0 comments
brechtm commented
def __init__(self, file, file_offset, subtable_types):
super().__init__(file, file_offset)
offsets = array(uint16, self['SubTableCount'])(file)
if self['LookupFlag']['UseMarkFilteringSet']:
self['MarkFilteringSet'] = uint16(file)
> subtable_type = subtable_types[self['LookupType']]
E KeyError: 8
If rinohtype doesn't yet implement support for an OpenType table format, exit with a more informative message. For substitution tables, we could also ignore them but issue a warning to the user that the particular font will lack (some) glyph substitutions.