From 39952f8bdf2ee77e32152bf67df456a83e3e03fe Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sun, 24 Apr 2022 20:52:36 +0200 Subject: 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. --- srcs/special_font/build.pe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'srcs/special_font/build.pe') 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") -- cgit v1.2.3