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

大神~~权限可以改嘛? 目前我看到是用的运行者默认的文件权限..0644
我看到生成的 SVG 基于 GLYPHS ,可是 GLYPHS 已经从 标准中消失,也许应该使用 paths 取代。 https://developer.mozilla.org/en-US/docs/Web/SVG/Element/glyph
rt 有没有办法一样的配置每次都生成一样的字体文件内容?
下面的代码运行不正常: import FontCarrier from 'font-carrier'; const t = FontCarrier.transfer('t.ttf'); const s = '𠀀'; const newFont = t.min(s); newFont.get(s) === undefined; 出错的原因在函中 function toUnicode(str) { var uArray = [] var u...
解析tahoma.ttf 报错: "0x3b55a: ClassDef format must be 1 or 2." [tahoma.zip](https://github.com/purplebamboo/font-carrier/files/11411113/tahoma.zip)
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"); 的时候,有的字体会显示;