Skip to content

matt-kinton/fontpie-from-css

Repository files navigation

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

About

Generate fallback fonts from a CSS file using fontpie.

Resources

License

Stars

Watchers

Forks

Packages

No packages published