diff --git a/output/DIMSymbols.woff2 b/output/DIMSymbols.woff2 index a0d216f6..87b7a887 100644 Binary files a/output/DIMSymbols.woff2 and b/output/DIMSymbols.woff2 differ diff --git a/src/generate-custom-glyph-enums.ts b/src/generate-custom-glyph-enums.ts index c52b0848..6903a5ba 100644 --- a/src/generate-custom-glyph-enums.ts +++ b/src/generate-custom-glyph-enums.ts @@ -30,7 +30,7 @@ webfont({ const woffFile = './DIM-custom-font/DIM-Symbols.woff'; const woff2File = './output/DIMSymbols.woff2'; // loadSync requires .otf or .woff filetype for enumeration - const ttf = Buffer.from(svg2ttf(String(result.svg!), options).buffer); + const ttf = Buffer.from(svg2ttf(String(result.svg), options).buffer); writeFileSync(woffFile, ttf2woff(ttf)); infoLog(TAG, `TEMP: ${woffFile} saved.`); // Generate font format to be used by DIM