File: sfd2bold.ff

package info (click to toggle)
fonts-beteckna 0.4-8
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 1,112 kB
  • sloc: sh: 10; makefile: 7
file content (17 lines) | stat: -rwxr-xr-x 346 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/fontforge
if ($argc > 1)
    Open($argv[1])
    ttfile = $fontname + "Bold"
    Print("Making ",ttfile)
    SetFontNames(ttfile)
    SelectAll()
    if ($argc > 2)
	ExpandStroke($2,0,0,0,5)
    else
	ExpandStroke(40,0,0,0,5)
    endif
#    Save(ttfile+".sfd")
    Close()
else
    Print("Usage: $0 font.sfd [width, default 40]")
endif