Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.36 KB

README.md

File metadata and controls

53 lines (37 loc) · 1.36 KB

Fontpie from CSS

Generate fallback fonts from a CSS file using fontpie.

Usage

Basic

npx fontpie-from-css <css-file>

Note: Font files are loaded relative to the CSS file, ideally the CSS file should be in the same directory as the font files.

Writing to a file

You can output the result to a file by using > or append to a file using >>.

npx fontpie-from-css <css-file> > <output-file>
npx fontpie-from-css <css-file> >> <output-file>

Useful links

Credit

This project is a simple wrapper around fontpie by pixel-point. All credit for the heavy lifting goes to them.

License

MIT