1. 首页
  2. 数据库
  3. 其它
  4. node ttfautohint:适用于Node JS的TTFAutohint包装器 源码

node ttfautohint:适用于Node JS的TTFAutohint包装器 源码

上传者: 2021-05-12 09:33:53上传 ZIP文件 236.1KB 热度 19次
节点ttfautohint 适用于Node JS的TTFAutohint包装器。 主要特征 独立(无全局依赖性) 流API 编译过程(如果没有在线预编译) 强调 尽可能输入严格(ESLint) ES7 功能性 模块接口 该类实现stream.Transformer 。 安装 $ npm i ttfautohint 用法 流API import TTFAutohint from 'ttfautohint' ; const i = fs . createReadStream ( '/source/font.ttf' ) ; const o = fs . createWriteStream ( '/target/font-compiled.ttf' ) ; // TTFAutohintOptions can be passed const t = new TTFAutohint (
下载地址
用户评论