From 2bb2898bf265c29e9d07a74ce4e4315cb614ff19 Mon Sep 17 00:00:00 2001 From: molarmanful Date: Thu, 11 Apr 2024 12:46:18 -0400 Subject: [PATCH] hopefully addresses #2 --- build.sh | 2 +- scripts/fix.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 1700411..3e3f348 100755 --- a/build.sh +++ b/build.sh @@ -30,7 +30,7 @@ nerd_dep bnp src/kirsch.kbitx kirsch ttf ttfix kirsch bnp src/kirsch.kbitx kirsch bdf -sed -i -e '/^FONT/s/-[pc]-/-M-/i' -e '/^FONT/s/-80-/-50-/' out/kirsch.bdf +sed -i -e '/^FONT /s/-[pc]-/-M-/i' -e '/^FONT /s/-80-/-50-/' out/kirsch.bdf ff kirsch pcf kirsch if [ "$n" != "" ]; then diff --git a/scripts/fix.py b/scripts/fix.py index 42420ed..447acd3 100644 --- a/scripts/fix.py +++ b/scripts/fix.py @@ -7,6 +7,7 @@ f.correctDirection() f.removeOverlap() for g in f: + f[g].width = 768 if f[g].unicode != -1: f[g].glyphname = nameFromUnicode(f[g].unicode, "AGL with PUA") f.encoding = "UnicodeFull"