abouttreesummaryrefslogcommitdiff
path: root/srcs/special_font
diff options
context:
space:
mode:
authorJules Aguillon2022-04-24 20:52:36 +0200
committerJules Aguillon2022-04-24 20:52:36 +0200
commit39952f8bdf2ee77e32152bf67df456a83e3e03fe (patch)
tree0287109a42d37cb41e55aa456382df7184b513e3 /srcs/special_font
parentab4c73f9f3dda374e0ff60f2eab382612093263e (diff)
downloadunexpected-keyboard-39952f8bdf2ee77e32152bf67df456a83e3e03fe.tar.gz
unexpected-keyboard-39952f8bdf2ee77e32152bf67df456a83e3e03fe.zip
Remove build dependency on Fontforge
The required version of fontforge (from 2020!) is not available in many distros. This is an annoying for contributors and greatly complicated the CI and F-Droid scripts. The generated font file is now included in the sources. Fontforge is still needed when adding new glyphs but this is not a common operation.
Diffstat (limited to 'srcs/special_font')
-rw-r--r--srcs/special_font/build.pe4
-rw-r--r--srcs/special_font/result.ttfbin0 -> 6260 bytes
2 files changed, 2 insertions, 2 deletions
diff --git a/srcs/special_font/build.pe b/srcs/special_font/build.pe
index 4e2754d..962917f 100644
--- a/srcs/special_font/build.pe
+++ b/srcs/special_font/build.pe
@@ -3,7 +3,7 @@
New()
# Imports glyphs, file name is position in the font.
-i = 2
+i = 1
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($1)
+Generate("result.ttf")
diff --git a/srcs/special_font/result.ttf b/srcs/special_font/result.ttf
new file mode 100644
index 0000000..8434a3f
--- /dev/null
+++ b/srcs/special_font/result.ttf
Binary files differ