File: ConvertFont.ff

package info (click to toggle)
ttf-levien-typoscript 000.001-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 200 kB
  • sloc: sh: 10; makefile: 7
file content (18 lines) | stat: -rwxr-xr-x 376 bytes parent folder | download | duplicates (4)
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.1.1 2004/11/09 19:19:49 markos Exp $
#
# Convert fonts from PfaEdit's native format to TrueType format

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