opentypejs/opentype.js

Corrupted font file handling

Aperta

#337 aperta il 16 mar 2018

 (4 commenti) (0 reazioni) (1 assegnatario)JavaScript (512 fork)batch import
enhancementhelp wantedquestion

Metriche repository

Star
 (4170 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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 ?

Guida contributor