JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 26679
  • Score
    100M100P100Q146876F

Create a WOFF font from a TTF font

Package Exports

  • gulp-ttf2woff

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-ttf2woff) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gulp-ttf2woff NPM version Build status

Create a WOFF font from a TTF font with Gulp.

Usage

First, install gulp-ttf2woff as a development dependency:

npm install --save-dev gulp-ttf2woff

Then, add it to your gulpfile.js:

var ttf2woff = require('gulp-ttf2woff');

gulp.task('ttf2woff', function(){
  gulp.src(['fonts/*.ttf'])
    .pipe(ttf2woff())
    .pipe(gulp.dest('fonts/'));
});

Contributing / Issues

Please submit TTF to WOFF related issues to the ttf2woff project on wich gulp-ttf2woff 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.