Create a TTF font from an SVG font
Grunt task to create a TTF font from an SVG font.
This plugin requires Grunt
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-svg2ttf --save-dev
In your project's Gruntfile, add a section named
svg2ttf to the data
object passed into
gruntinitConfigsvg2ttf:your_target:// Target-specific file lists go here.
SVG fonts to convert. Wildcards are supported.
Directory in wich to save the converted font.
gruntinitConfigsvg2ttf:svg2ttf:src: 'fonts/*.svg'dest: 'fonts/'
Please submit SVG to TTF related issues to the svg2ttf project on wich grunt-svg2ttf is built.
This repository issues is only for grunt and grunt tasks related issues.
You may want to contribute to this project, pull requests are welcome if you accept to publish under the MIT licence.