File: ConvertFont.ff

package info (click to toggle)
fonts-ocr-a 1.0-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 792 kB
  • sloc: xml: 19; sh: 9; makefile: 8
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