Skip to content

Commit

Permalink
set ts to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
delphiactual committed Jun 12, 2024
1 parent 613074d commit 3d60763
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified DIM-custom-font/DIM-Symbols.woff
Binary file not shown.
2 changes: 1 addition & 1 deletion src/generate-custom-glyph-enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ webfont({
// Writes buffer into .svg font file for other conversions
writeFile('./DIM-custom-font/DIM-Symbols.svg', result.svg);
// loadSync requires .otf or .woff filetype for enumeration
const ttf = svg2ttf(readFileSync('./DIM-custom-font/DIM-Symbols.svg', 'utf8'), {});
const ttf = svg2ttf(readFileSync('./DIM-custom-font/DIM-Symbols.svg', 'utf8'), { ts: 0 });
writeFileSync('./DIM-custom-font/DIM-Symbols.woff', ttf2woff(ttf.buffer));
// Generate font format to be used by DIM
writeFileSync(
Expand Down

0 comments on commit 3d60763

Please sign in to comment.