purplebamboo / font-carrier

font-carrier是一个功能强大的字体操作库,使用它你可以随心所欲的操作字体。让你可以在svg的维度改造字体的展现形状。

Home Page:http://purplebamboo.github.io/font-carrier/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

royalknight56 opened this issue · comments

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"); 的时候,有的字体会显示;