Skip to content

undone-labs/fontpls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fontpls

A typeface conversion tool for making webfonts, accessible via most CLIs

flowchart LR;
    A(TTF or OTF) --> B{{fontpls}}
    B --> C(WOFF2)
    B --> D(EOT)
    B --> E(SVG)
Loading

Installation

You can install fontpls globally though npm.

npm -g i fontpls

Usage

fontpls /path/to/file.otf

The above command should be run in the CLI. The input ($1) value must be a single .otf or .ttf file. Extra included files will be ignored.

If successful, the new font files (.svg, .eot, .woff2) will be written to the same directory that the original TrueType or OpenType font was in.