Skip to content

Commit 9e66a68

Browse files
BalearicaConnum
authored andcommitted
Finished first pass of kerning write support
1 parent 5636e7e commit 9e66a68

File tree

4 files changed

+256
-451
lines changed

4 files changed

+256
-451
lines changed

src/opentype.mjs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -310,12 +310,8 @@ function parseBuffer(buffer, opt={}) {
310310
metaTableEntry = tableEntry;
311311
break;
312312
case 'gasp':
313-
try {
314-
table = uncompressTable(data, tableEntry);
315-
font.tables.gasp = gasp.parse(table.data, table.offset);
316-
} catch (e) {
317-
console.warn('Error parsing gasp table:', e);
318-
}
313+
table = uncompressTable(data, tableEntry);
314+
font.tables.gasp = gasp.parse(table.data, table.offset);
319315
break;
320316
case 'SVG ':
321317
table = uncompressTable(data, tableEntry);

0 commit comments

Comments
 (0)