Lingjun Meng
Lingjun Meng
空格 这里确实是欠考虑了,下个版本会加上 多谢反馈
@Daley 请更新 `0.9.6`, 增加配置 `trim` ``` Fontmin() .src(srcPath) .use(Fontmin.glyph({ text: 'abcd efg', trim: false })) .dest(destPath); ```
hi @bitinn , I get http://www.apple.com/wss/fonts/PingHei/v1/PingHei-light.woff 404, can u give me another url ? thx ^_^
@Taisen1991 你好,现在也是有一些动态方案的,不过成本非常大 输入文字 -> 发起网络请求 -> 渲染,也有一段时间 中文环境不推荐使用
@ghostgeek 是的 有这个考虑 但是目前并没有时间,也可以试试用 [gulp-ttf2woff2](https://github.com/nfroidure/gulp-ttf2woff2) 来搞定这个需求 ``` javascript var Fontmin = require('fontmin'); var ttf2woff2 = require('gulp-ttf2woff2'); var fontmin = new Fontmin() .src('fonts/*.ttf') .use(Fontmin.glyph({ text: '对woff2的支持' })) .use(ttf2woff2({clone: true})) .dest('build/fonts'); fontmin.run(function...
@mkwiser Please merge the requeset and release a version 1.0.0
#7 请参考
let me try
I write a tool [gulp-tmpl2js](https://github.com/junmer/gulp-tmpl2js) to convert `a.html` to `a.html.js` . so, I can require `a.html` as js module without `text` plugin. You can take a try :smiley: