1 #!/usr/bin/env fontforge
4 # script file for FontForge for font narrowing after merge
5 # usage: fontforge -script narrowmerge.pe scale sfd glyph_codes*
6 # created file has suffix .narrow
8 # DejaVu Condensed have scale 90
10 if ($version < "20050209")
11 Error("Your version of FontForge transforms glyphs w/o content");
14 Error("usage: scale sfd glyph_codes...")
16 scale = Strtol($argv[1])
19 Print("Nothing to do for ", file)
25 SelectMore(Strtol($argv[i]))
29 Save(file + ".narrow")