]> gitweb.michael.orlitzky.com - charm-bypass.git/blobdiff - sfd2woff.ff
COPYING: add to state the "or later" bit
[charm-bypass.git] / sfd2woff.ff
index a3585c642b545ab82bde57eccbe3719832cad3b7..8f6085560416745253469f7311a4029d72c6dd1b 100755 (executable)
@@ -1,8 +1,7 @@
 #!/usr/bin/env fontforge
 #
-# FontForge script to convert its argument (some font file) to
-# woff2. The base name of the file is kept the same and a .woff2
-# extension is added. See,
+# FontForge script that converts its first argument (a font file) to
+# woff2, saving the results to its second argument (a path). See,
 #
 #   https://fontforge.org/docs/tutorial/scripting-tutorial.html
 #
@@ -29,4 +28,4 @@
 #   819212
 #
 Open($1);
-Generate($1:r + ".woff2","",819212);
+Generate($2,"",819212);