File: ConvertFont.ff

package info (click to toggle)
fonts-georgewilliams 20031023-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 21,032 kB
  • sloc: makefile: 9
file content (20 lines) | stat: -rwxr-xr-x 481 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/fontforge
# $Id: ConvertFont,v 1.1.1.1 2004/11/09 19:19:49 markos Exp $
# Stolen from the ttf-freefont Debian package done by
# Konstantinos Margaritis <markos@debian.org>
#
# Convert fonts from SFD 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