abouttreesummaryrefslogcommitdiff
path: root/srcs/special_font
diff options
context:
space:
mode:
authorJules Aguillon2023-06-03 21:03:05 +0200
committerJules Aguillon2023-06-03 21:03:05 +0200
commite5ae4816df6a48d6ad61c32654f14f108cac6a34 (patch)
tree199c15cbb5ded8d18aa83089b2c590abb3c0ea83 /srcs/special_font
parentf451902efa074a58953f9f5d69dd56812d854661 (diff)
downloadunexpected-keyboard-e5ae4816df6a48d6ad61c32654f14f108cac6a34.tar.gz
unexpected-keyboard-e5ae4816df6a48d6ad61c32654f14f108cac6a34.zip
Add automated checks on layouts
The script `check_layout.py` checks some properties about layouts. No check is an error. The result of running this script on every layouts is stored in the file `check_layout.output`, which is useful to track changes. Add make rules to run this script as well as `sync_translations`.
Diffstat (limited to 'srcs/special_font')
-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])