abouttreesummaryrefslogcommitdiff
path: root/srcs/special_font/build.pe
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/special_font/build.pe')
-rw-r--r--srcs/special_font/build.pe6
1 files changed, 3 insertions, 3 deletions
diff --git a/srcs/special_font/build.pe b/srcs/special_font/build.pe
index 962917f..bf13f23 100644
--- a/srcs/special_font/build.pe
+++ b/srcs/special_font/build.pe
@@ -2,8 +2,8 @@
# files, one for each glyph.
New()
-# Imports glyphs, file name is position in the font.
-i = 1
+# Imports glyphs, first argument is file name for the generated font
+i = 2
while (i < $argc)
Select(Strtol($argv[i]:t:r, 16))
Import($argv[i], 0, 0, 4.0, 0.1)
@@ -11,4 +11,4 @@ while (i < $argc)
i++
endloop
-Generate("result.ttf")
+Generate($argv[1])