opentypejs/opentype.js

Corrupted font file handling

Offen

#337 geöffnet am 16.03.2018

 (4 Kommentare) (0 Reaktionen) (1 zugewiesene Person)JavaScript (512 Forks)batch import
enhancementhelp wantedquestion

Repository-Metriken

Stars
 (4.170 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

The more different tables we parse in opentype.js, the more we come across corrupted font files. Most of them are still usable with other software, but opentype.js currently throws errors and stops parsing the font. Shouldn't we try to skip (sub)tables containing errors ? Should we report errors in some way ? Maybe just keeping a log of ignored tables ? What do you think ? @fdb @Jolg42 @Pomax and others ?

Contributor Guide