From d733f8c78c4159dd78d5c9ffa2683cfb3fa894e8 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Fri, 18 Mar 2022 12:24:29 +0100 Subject: Build all special glyphs from SVG Recover the provenance of each glyphs and remove the base_font.ttf file. --- srcs/special_font/build.pe | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'srcs/special_font/build.pe') diff --git a/srcs/special_font/build.pe b/srcs/special_font/build.pe index fab828b..de5ed23 100644 --- a/srcs/special_font/build.pe +++ b/srcs/special_font/build.pe @@ -1,13 +1,11 @@ # 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) +New() # Imports glyphs, file name is position in the font. -i = 3 +i = 2 while (i < $argc) - Select(Strtol($argv[i]:t:r)) + Select(Strtol($argv[i]:t:r, 16)) Import($argv[i]) i++ endloop -- cgit v1.2.3