is a tool to convert .ttf files to .eot, .woff and .woff2 along with the stylesheet containing
@font-face
rules
This tool is still work in progress
- NodeJS v4
Note: WFG will automatically install ttf2eot, ttf2woff and ttf2woff2 modules globally via npm.
- Clone this repository
cd
into the directory- Run command
npm run setup
to install required modules
cd
into directory containing .ttf font files you want to convert- Run command
font-generator
- WFG will automagically convert .ttf files to .eot, .woff and .woff2 then generate a stylesheet
- Done. All assets are ready to use