We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c39aa15 commit a2c5999Copy full SHA for a2c5999
test/tables/gasp.spec.mjs
@@ -29,4 +29,9 @@ describe('tables/gasp.mjs', function () {
29
assert.equal(font.tables.gasp.gaspRanges[1].rangeGaspBehavior, 0x0001 + 0x0002 + 0x0004 + 0x0008); // all flags set = 15
30
});
31
32
+ it('can write tables that are read as identical to the original', function() {
33
+ const font2 = parse(font.toArrayBuffer());
34
+ assert.strictEqual(JSON.stringify(font.tables.gasp), JSON.stringify(font2.tables.gasp));
35
+ });
36
+
37
0 commit comments