abouttreesummaryrefslogcommitdiff
path: root/srcs/special_font
diff options
context:
space:
mode:
authorJules Aguillon2023-08-02 20:39:37 +0200
committerJules Aguillon2023-08-02 20:39:37 +0200
commitbe97364b3447ab088a78d3177638ce691fc7228f (patch)
treecfd186a7620f2c58a4c0e4d279d6753e2dceffb3 /srcs/special_font
parent3c3955e583c83f1e62f7975af3723e3430a72f0e (diff)
downloadunexpected-keyboard-be97364b3447ab088a78d3177638ce691fc7228f.tar.gz
unexpected-keyboard-be97364b3447ab088a78d3177638ce691fc7228f.zip
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.
Diffstat (limited to 'srcs/special_font')
-rw-r--r--srcs/special_font/build.pe3
-rw-r--r--srcs/special_font/result.ttfbin8732 -> 8952 bytes
2 files changed, 2 insertions, 1 deletions
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++
diff --git a/srcs/special_font/result.ttf b/srcs/special_font/result.ttf
index 429006b..2724805 100644
--- a/srcs/special_font/result.ttf
+++ b/srcs/special_font/result.ttf
Binary files differ