opentypejs/opentype.js

Corrupted font file handling

オープン

#337 opened on 2018/03/16

 (4 件のコメント) (0 件のリアクション) (1 人の担当者)JavaScript (512 件のフォーク)batch import
enhancementhelp wantedquestion

Repository metrics

Stars
 (4,170 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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 ?

コントリビューターガイド