diff options
| author | Jules Aguillon | 2022-03-18 12:24:29 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2022-03-18 12:55:08 +0100 |
| commit | d733f8c78c4159dd78d5c9ffa2683cfb3fa894e8 (patch) | |
| tree | e716ca67dc14b112f0814930cd86a30798acfa0d /srcs/special_font/build.pe | |
| parent | e63ff8f837947d574cc2da0c764b564302580343 (diff) | |
| download | unexpected-keyboard-d733f8c78c4159dd78d5c9ffa2683cfb3fa894e8.tar.gz unexpected-keyboard-d733f8c78c4159dd78d5c9ffa2683cfb3fa894e8.zip | |
Build all special glyphs from SVG
Recover the provenance of each glyphs and remove the base_font.ttf file.
Diffstat (limited to 'srcs/special_font/build.pe')
| -rw-r--r-- | srcs/special_font/build.pe | 8 |
1 files changed, 3 insertions, 5 deletions
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 |
