JSPM

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

Create a TTF font from an SVG font

Package Exports

  • gulp-svg2ttf

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-svg2ttf) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gulp-svg2ttf NPM version Build status

Create a TTF font from an SVG font with Gulp.

Usage

First, install gulp-svg2ttf as a development dependency:

npm install --save-dev gulp-svg2ttf

Then, add it to your gulpfile.js:

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

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

Contributing / Issues

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