Last active
August 16, 2024 21:03
-
-
Save endel/d034ce3f1641aa9dca3db4154a38153c to your computer and use it in GitHub Desktop.
FontForge script to convert .ttf file to its webfont variations (.otf, .svg, .woff, .woff2)
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