chmod +x convert.pe
./conver.pe Your-Font.ttf
Last active
October 28, 2015 10:10
-
-
Save endel/5a79e06bb796725119fe to your computer and use it in GitHub Desktop.
FontForge: Straightforward way to convert .ttf into multiple webfont formats
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/fontforge | |
Open($1) | |
Generate($1:r + ".otf") | |
Generate($1:r + ".svg") | |
Generate($1:r + ".woff") | |
Generate($1:r + ".woff2") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment