File: ConvertFont.ff

package info (click to toggle)
essays1743 2.100-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 27,360 kB
  • sloc: xml: 20; makefile: 4
file content (20 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (17)
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