File: ConvertFont.ff

package info (click to toggle)
triod-postnaja 20130809-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 568 kB
  • sloc: makefile: 6
file content (14 lines) | stat: -rw-r--r-- 253 bytes parent folder | download | duplicates (36)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/fontforge
if ($argc > 1)
    i = 1;
    while ( i < $argc )
	Open($argv[i])
	ttfile = $fontname + ".ttf"
	Print("Converting ",ttfile)
	Generate(ttfile,"ttf")
	Close()
	i++
    endloop
else
    Print("Usage: $0 font.sfd [font.sfd ...]")
endif