Skip to content

Instantly share code, notes, and snippets.

@jupdike
Created August 16, 2020 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jupdike/f037d9b9827f86af8d9f0a0f2af56b49 to your computer and use it in GitHub Desktop.
Save jupdike/f037d9b9827f86af8d9f0a0f2af56b49 to your computer and use it in GitHub Desktop.
#!/Applications/FontForge.app/Contents/MacOS/FontForge
# ONLY CONVERTS TO .SVG FONTS
# REAME: call from ffconvert.sh with (cd /path/with/font/files && ffconvert.sh *.ttf)
# or *.otf
# if a problem occurs, just rename fonts without spaces!
#Open($1)
#Generate($1:r + ".svg")
i=1
while ( i<$argc )
Open($argv[i])
Generate($argv[i]:r + ".svg")
i = i+1
endloop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment