Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/seleb/webfont-tools

some simple tools for dealing with webfonts
https://github.com/seleb/webfont-tools

font javascript svg webfont

Last synced: 21 days ago
JSON representation

some simple tools for dealing with webfonts

Awesome Lists containing this project

README

        

# webfont-tools

some simple tools for dealing with webfonts

## features

- convert svgs to font (via [`webfonts-generator`](https://www.npmjs.com/package/webfonts-generator))
- convert font to svgs (via [`font-blast`](https://www.npmjs.com/package/font-blast))

## config

can be configured via `.webfont-toolsrc` (or other `rc`-compatible config)

- `in`:
- for svgs to font: filepath of folder containing svgs; default - `./in/svgs`
- for font to svgs: filepath of svg webfont; default - `./in/iconfont.svg`
- `out`:
- for svgs to font: filepath of folder to output font; default - `./out/font`
- for font to svgs: filepath of folder to output svgs; default - `./out/svgs`
- `fontName`: name of output font for svgs to font; default - `iconfont`