A font-face generator for creating browser-usable fonts and CSS/Sass files from any OTF.
Based on fontfacegen without using Node.
Install with Homebrew:
brew tap bramstein/webfonttools
brew update
brew install fontforge woff2
Clone and build woff2 then add woff2_compress
to your $PATH. Next with apt:
apt install fontforge
make fonts FONT_PATH=/path/to/a_font.otf
make css FONT_PATH=/path/to/a_font.otf
make sass FONT_PATH=/path/to/a_font.otf
make fonts FONT_PATH=/path/to/a_font.otf DEST=/path/to/output/webfonts