ttf2svg
Font convertor, TTF to SVG, for node.js
Last updated 9 years ago by qdsang .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ttf2svg 
SYNC missed versions from official npm registry.

ttf2svg

Font convertor, TTF to SVG, for node.js

Usage

Install:

npm install -g ttf2svg

Usage example:

ttf2svg fontello.ttf fontello.svg

Or:

var ttf2svg = require('ttf2svg')
  , fs = require('fs')
;

fs.readFile('./fontello.ttf', function (err, buffer) {
    if (!!err) throw err;

    var svgContent = ttf2svg(buffer);
    fs.writeFileSync('./fontello.svg', svgContent);

});

Stats

NPM NPM

Reference

gulp-ttf2svg

Current Tags

  • 1.2.0                                ...           latest (9 years ago)

9 Versions

  • 1.2.0                                ...           9 years ago
  • 1.1.0                                ...           9 years ago
  • 0.0.7                                ...           12 years ago
  • 0.0.6                                ...           12 years ago
  • 0.0.5                                ...           12 years ago
  • 0.0.4                                ...           12 years ago
  • 0.0.3                                ...           12 years ago
  • 0.0.2                                ...           12 years ago
  • 0.0.1                                ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 7
This Month 7
Last Day 6
Last Week 0
Last Month 9
Dependencies (1)
Dev Dependencies (0)
None
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |