Created
May 2, 2014 11:37
-
-
Save masih/6aeef03110b1cea45e07 to your computer and use it in GitHub Desktop.
Converts any font to TTF using FontForge
This file contains 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 | |
# Quick and dirty hack: converts a font to truetype (.ttf) | |
# Usage: | |
# for i in *.XXX; do fontforge -script tottf.sh $i; done | |
Print("Opening "+$1); | |
Open($1); | |
Print("Saving "+$1:r+".ttf"); | |
Generate($1:r+".ttf"); | |
Quit(0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment