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.pe15
1 files changed, 15 insertions, 0 deletions
diff --git a/srcs/special_font/build.pe b/srcs/special_font/build.pe
new file mode 100644
index 0000000..fab828b
--- /dev/null
+++ b/srcs/special_font/build.pe
@@ -0,0 +1,15 @@
+# The special font is used for the symbols of some keys. It is built from SVG
+# files, one for each glyph.
+
+# Starts from an existing font file for glyphs that don't have SVG sources yet.
+Open($2)
+
+# Imports glyphs, file name is position in the font.
+i = 3
+while (i < $argc)
+ Select(Strtol($argv[i]:t:r))
+ Import($argv[i])
+ i++
+endloop
+
+Generate($1)