From 4e0ed0fbb0b5befab3e291472b8fca81b68c7efe Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Tue, 11 Jun 2024 22:19:50 +0200 Subject: [PATCH] Prepare Gohufont 14 question mark fix [why] Ordinary questionmark and inverted questionmark in upstream Gohufont 14 have the same glyph name, breaking the font. [how] Rename the inverted questionmark to the customary "inverted" via ttx. This just prepares the change. Signed-off-by: Fini Jastrow --- src/unpatched-fonts/Gohu/14/gohufont-14.patch | 78 +++++++++++++++++++ src/unpatched-fonts/Gohu/fix_gohufont_14.sh | 10 +++ 2 files changed, 88 insertions(+) create mode 100644 src/unpatched-fonts/Gohu/14/gohufont-14.patch create mode 100755 src/unpatched-fonts/Gohu/fix_gohufont_14.sh diff --git a/src/unpatched-fonts/Gohu/14/gohufont-14.patch b/src/unpatched-fonts/Gohu/14/gohufont-14.patch new file mode 100644 index 000000000..47d598c21 --- /dev/null +++ b/src/unpatched-fonts/Gohu/14/gohufont-14.patch @@ -0,0 +1,78 @@ +--- gohufont-14.ttx 2024-06-11 21:49:37.271329386 +0200 ++++ gohufont-14_.ttx 2024-06-11 22:01:46.502759124 +0200 +@@ -195,7 +195,7 @@ + + + +- ++ + + + +@@ -532,7 +532,7 @@ + + + +- ++ + + + +@@ -701,7 +701,7 @@ + + + +- ++ + + + +@@ -828,6 +828,7 @@ + + + ++ + + + +@@ -1166,7 +1167,7 @@ + + + +- ++ + + + +@@ -1293,6 +1294,7 @@ + + + ++ + + + +@@ -9721,7 +9723,7 @@ + + + +- ++ + + + +@@ -11909,14 +11911,6 @@ + + + +- +- + + + diff --git a/src/unpatched-fonts/Gohu/fix_gohufont_14.sh b/src/unpatched-fonts/Gohu/fix_gohufont_14.sh new file mode 100755 index 000000000..2698ea9a2 --- /dev/null +++ b/src/unpatched-fonts/Gohu/fix_gohufont_14.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +set -e + +cd 14 +ttx gohufont-14.ttf +patch < gohufont-14.patch +mv gohufont-14.ttf gohufont-14_orig.tt_ +ttx gohufont-14.ttx +rm gohufont-14.ttx