14 lines
280 B
Plaintext
14 lines
280 B
Plaintext
|
#!/usr/bin/env fontforge
|
||
|
|
||
|
Print("Opening " + $1);
|
||
|
Print(FontsInFile($1));
|
||
|
nfiles = SizeOf(FontsInFile($1));
|
||
|
i = 0;
|
||
|
while (i < nfiles)
|
||
|
Open($1 + "(" + i + ")", 4);
|
||
|
Print("Saving " + $1:r + "-" + i + ".ttf");
|
||
|
Generate($1:r + "-" + i + ".ttf");
|
||
|
++i;
|
||
|
endloop
|
||
|
Quit(0);
|