Debian Codegraph @

debian/scripts/ConvertFont.ff

raw
1 #!/usr/bin/fontforge
2 # $Id: ConvertFont,v 1.1.1.1 2004/11/09 19:19:49 markos Exp $
3 #
4 # Convert fonts from PfaEdit's native format to TrueType format
5
6 if ($argc > 1)
7 i = 1;
8 while ( i < $argc )
9 Open($argv[i])
10 ttfile = $fontname + ".ttf"
11 Print("Converting ",ttfile)
12 Generate(ttfile)
13 Close()
14 i++
15 endloop
16 else
17 Print("Usage: $0 font.sfd [font.sfd ...]")
18 endif