Skip to content
This repository has been archived by the owner on May 31, 2022. It is now read-only.
/ dr-font-builder Public archive

Convert SVG fonts to Truetype, WOFF or EOT formats.

Notifications You must be signed in to change notification settings

drdk/dr-font-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 comma separated 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 -o ./dist

Node

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

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

About

Convert SVG fonts to Truetype, WOFF or EOT formats.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published