opentypejs/opentype.js

Corrupted font file handling

Ouverte

#337 ouverte le 16 mars 2018

 (4 commentaires) (0 réaction) (1 personne assignée)JavaScript (512 forks)batch import
enhancementhelp wantedquestion

Métriques du dépôt

Stars
 (4 170 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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 ?

Guide contributeur