fontforge/tests/scripts/generate-ttf.pe
Petr Šabata c68d42e334 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/fontforge#7c8685957603b3bd7490489d3abd86b4e1a44548
2020-10-15 00:30:29 +02:00

11 lines
265 B
Plaintext
Executable File

#!/usr/bin/fontforge
i=1
Open($argv[i], 1)
#Use gen_flags=Defualt fmflags value as -1
gen_flags = -1
Generate("" + $fontname + ".ttf", "", gen_flags)
Generate("" + $fontname + ".otf", "", gen_flags)
PrintSetup (5)
PrintFont (0, 0, "", $fontname + "-sample.pdf")