File: generate.pe

package info (click to toggle)
fonts-pagul 1.0-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 1,520 kB
  • ctags: 7
  • sloc: makefile: 17
file content (19 lines) | stat: -rw-r--r-- 450 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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("TTFfiles/" + $fontname + ".ttf", "", gen_flags)
  i++
endloop