File GenerateTrueType of Package gnu-free-fonts

##!/usr/bin/env fontforge
# $Id: GenerateTrueType,v 1.2 2008/03/21 20:19:05 Stevan_White Exp $
#
# Convert fonts from FontForge's native SFD format to TrueType format
# First auto-hints whole font

scriptname=$argv[0];

if ( $argc > 1 )
    i = 1;
    while ( i < $argc )
	Open( $argv[i] )
	ttfile = $fontname + ".ttf"
	Print( "Generating TT file from ", $argv[i] )
	SelectAll()
	AutoHint()
	Generate( ttfile )
	Close()
	i++
    endloop
else
    Print( "Usage: ", scriptname, " font.sfd [font.sfd ...]" )
endif
openSUSE Build Service is sponsored by