Create an EOT font from a TTF one
Create an EOT font from a TTF one with Gulp.
gulp-ttf2eot as a development dependency:
npm install --save-dev gulp-ttf2eot
Then, add it to your
var ttf2eot = require'gulp-ttf2eot';gulptask'ttf2eot'gulpsrc'fonts/*.ttf'pipettf2eotpipegulpdest'fonts/';;
Set to true to also convert files that doesn't have the .ttf extension.
Set to true to clone the file before converting him so that it will output the original file too.
You may look after a full Gulp web font workflow, see gulp-iconfont fot that matter.
Please submit TTF to EOT related issues to the ttf2eot project on wich gulp-ttf2eot is built.
This repository issues is only for gulp and gulp tasks related issues.
You may want to contribute to this project, pull requests are welcome if you accept to publish under the MIT licence.