Socket
Socket
Sign inDemoInstall

dr-font-builder

Package Overview
Dependencies
14
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    dr-font-builder

dr-font-builder ===============


Version published
Maintainers
1
Created

Readme

Source

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"]);

FAQs

Last updated on 10 Sep 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc