Skip to content

undone-labs/fontpls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 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)

Usage

fontpls /path/to/file.otf

The above command should be run in the CLI. The input ($1) value must be a .otf or .ttf file.

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.

Local development

This project hasn't yet been released via a package manager like npm yet. So to get started with local development, and to use the tool, follow these steps:

  1. Clone this repository
  2. Navigate to the root of this repo on your local machine and run npm link
  3. Run the command! e.g., fontpls ~/Desktop/helvetica.otf

Note that npm link will now maintain the symbollic link to the package, so updates made to this project's codebase locally will be visible each time fontpls is invoked.

About

A typeface conversion tool for making webfonts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published