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
- Git pull to get latest update
- Run command
npm run setup
cd
into directory containing .ttf font files you want to convert- Run command
wfg
- WFG will automagically convert .ttf files to .eot, .woff and .woff2 then generate a stylesheet
- Done. All assets are ready to use