From be97364b3447ab088a78d3177638ce691fc7228f Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Wed, 2 Aug 2023 20:39:37 +0200 Subject: font: Move glyphs into the PUA Glyphs in the Private Use Area at uE000 will no longer conflict with fallback fonts in the "extra keys" option. --- srcs/special_font/build.pe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'srcs/special_font/build.pe') diff --git a/srcs/special_font/build.pe b/srcs/special_font/build.pe index bf13f23..355a330 100644 --- a/srcs/special_font/build.pe +++ b/srcs/special_font/build.pe @@ -1,11 +1,12 @@ # The special font is used for the symbols of some keys. It is built from SVG # files, one for each glyph. New() +Reencode("unicode") # Imports glyphs, first argument is file name for the generated font i = 2 while (i < $argc) - Select(Strtol($argv[i]:t:r, 16)) + Select(Strtol($argv[i]:t:r, 16) + 0xE000) Import($argv[i], 0, 0, 4.0, 0.1) AutoWidth(150) i++ -- cgit v1.2.3