Skip to content

Instantly share code, notes, and snippets.

@reflexing
Created June 8, 2012 06:40
Show Gist options
  • Save reflexing/2893981 to your computer and use it in GitHub Desktop.
Save reflexing/2893981 to your computer and use it in GitHub Desktop.
FontForge script to bulk check font versions. Example: "./fonts-versions.pe *.ttf" will produce "fonts.list"
#!/usr/bin/fontforge
i = 1
while (i < $argc)
Open($argv[i], 1)
string = $filename++Chr(9)+$fullname+Chr(9)+$fontversion+Chr(10)
WriteStringToFile(string, "fonts.list", 1)
i = i+1
endloop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment