1.0.1 • Published 10 years ago

dr-font-builder v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
10 years ago

dr-font-builder

Convert SVG fonts to Truetype, WOFF or EOT formats.

(Basically just a thin wrapper around the brilliant svg2tff, ttf2woff and ttf2eot Fontello libraries.)

Usage

CLI

font-builder <file> [options] 

Options

  • -f, --formats [string] - A list of formats to convert the source file too. Supported formats: ttf, woff and eot. Default is to export all supported formats.
  • -d, --dest [string] - Destination path of the converted files. Default destination is the directory of the source file.

Example

font-builder my-font.svg -f ttf,woff

Node

var builder = require("dr-font-builder");

builder("my-font.svg", ["ttf", "woff"]);
1.0.1

10 years ago

1.0.0

10 years ago