/** * {test unit} * @author yutent * @date 2024/02/04 11:48:14 */ import { svg2ttf } from '../src/index.js' import fs from 'iofs' let svg = fs.cat('test/game.svg').toString() let ttf = svg2ttf(svg) console.log(ttf)