purplebamboo / font-carrier

font-carrier是一个功能强大的字体操作库,使用它你可以随心所欲的操作字体。让你可以在svg的维度改造字体的展现形状。
http://purplebamboo.github.io/font-carrier/
MIT License
1.62k stars 194 forks source link

Uncaught TypeError: Cannot read properties of undefined (reading 'en') #66

Open royalknight56 opened 2 years ago

royalknight56 commented 2 years ago

error: Uncaught TypeError: Cannot read properties of undefined (reading 'en') at _parseTtfFont (file:///Users/zwy/Library/Caches/deno/npm/registry.npmjs.org/font-carrier/0.3.1/lib/helper/engine.js:121:37) at Object.parse (file:///Users/zwy/Library/Caches/deno/npm/registry.npmjs.org/font-carrier/0.3.1/lib/helper/engine.js:236:12) at Object.FontCarrier.transfer (file:///Users/zwy/Library/Caches/deno/npm/registry.npmjs.org/font-carrier/0.3.1/lib/index.js:35:33)

当使用 fontCarrier.transfer("fonts-file"); 的时候,有的字体会显示;