X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=sfd2woff.ff;h=8f6085560416745253469f7311a4029d72c6dd1b;hb=259d30cfc0318d5e96bfdb2ebcce572c50e03f39;hp=a3585c642b545ab82bde57eccbe3719832cad3b7;hpb=5b2de5a4649401bf46a23a4f2a3ed3e8d91647bd;p=charm-bypass.git diff --git a/sfd2woff.ff b/sfd2woff.ff index a3585c6..8f60855 100755 --- a/sfd2woff.ff +++ b/sfd2woff.ff @@ -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);