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 # Stolen from the ttf-freefont Debian package done by
4 # Konstantinos Margaritis <[email protected]>
5 #
6 # Convert fonts from SFD format to TrueType format
7
8 if ($argc > 1)
9 i = 1;
10 while ( i < $argc )
11 Open($argv[i])
12 ttfile = $fontname + ".ttf"
13 Print("Converting ",ttfile)
14 Generate(ttfile)
15 Close()
16 i++
17 endloop
18 else
19 Print("Usage: $0 font.sfd [font.sfd ...]")
20 endif