Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/seleb/webfont-tools
- Owner: seleb
- License: mit
- Created: 2019-03-26T07:04:01.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T20:02:56.000Z (about 2 years ago)
- Last Synced: 2024-04-28T21:03:58.188Z (9 months ago)
- Topics: font, javascript, svg, webfont
- Language: Handlebars
- Homepage: https://www.npmjs.com/package/webfont-tools
- Size: 181 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`