Created
November 7, 2019 13:52
-
-
Save violen/a0fa8e238162f540f62a9cba5f3e5408 to your computer and use it in GitHub Desktop.
Convert *.otf to *.ttf with fontforge.github.io
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/bin/fontforge | |
| # You need fontforge to use this script! | |
| # Example: fontforge -script otf2ttf.sh font.otf | |
| # This converts *.otf to *.ttf | |
| Print("opening "+$1); | |
| Open($1); | |
| Print("converting "+$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