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 ++-- srcs/special_font/result.ttf | Bin 0 -> 6260 bytes 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 srcs/special_font/result.ttf (limited to 'srcs/special_font') 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 Binary files /dev/null and b/srcs/special_font/result.ttf differ -- cgit v1.2.3