liberation-narrow-fonts/liberation-narrow-fonts-generate.pe
Petr Šabata 5a90bc2b67 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/liberation-narrow-fonts#6da6d529c9785d8a3c08926905de27c01643e673
2020-10-15 15:53:57 +02:00

20 lines
441 B
Plaintext

#!/usr/bin/env fontforge
# script file for FontForge for TTF generation
# usage:
# mkdir TTFfiles
# chmod +x generate.pe
# ./generate.pe *.sfd
if ($version < "20061220")
Error("Your version of FontForge is too old - 20061220 or newer is required");
endif
i = 1
while ( i < $argc )
Open($argv[i], 1)
#Use gen_flags=Defualt fmflags value as -1
gen_flags = -1
Generate("" + $fontname + ".ttf", "", gen_flags)
i++
endloop