File: ConvertFont.ff

package info (click to toggle)
ttf-isabella 1.01-7
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,572 kB
  • sloc: makefile: 35; sh: 8
file content (18 lines) | stat: -rw-r--r-- 374 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/fontforge
# $Id: ConvertFont,v 1.1 2002/12/18 17:36:36 peterlin Exp $
#
# Convert fonts from PfaEdit's native format to TrueType format

if ($argc > 1)
    i = 1;
    while ( i < $argc )
	Open($argv[i])
	ttfile = $fontname + ".ttf"
	Print("Converting ",ttfile)
	Generate(ttfile)
	Close()
	i++
    endloop
else
    Print("Usage: $0 font.sfd [font.sfd ...]")
endif