Fixup format
This commit is contained in:
parent
0b1452a3a7
commit
e6da99af60
15 changed files with 47 additions and 45 deletions
|
@ -2,7 +2,7 @@
|
|||
const fs = require("fs");
|
||||
const ttf2woff = require("ttf2woff");
|
||||
|
||||
module.exports = function(from, to) {
|
||||
module.exports = function (from, to) {
|
||||
const input = fs.readFileSync(from);
|
||||
const ttf = new Uint8Array(input);
|
||||
const woff = Buffer.from(ttf2woff(ttf, {}).buffer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue