const opentype = require("opentype.js"); const fs = require('fs'); const font = opentype.loadSync(`node_modules/@fontsource/roboto/files/roboto-all-400-normal.woff`); const alphabetChars = '!@#$%^&*()_+}{POIUYTREWQASDFGHJKL:"|?> Math.random() - 0.5); const randomChars = randomList.join(''); const alphabet = {} const decoder = {} const glyphs = []; const notdefGlyph = new opentype.Glyph({ name: '.notdef', advanceWidth: 650, path: new opentype.Path() }); glyphs.push(notdefGlyph); for (let i = 0;i