[PATCH] Fonts: acorn: fix ⌐

From: Ahelenia Ziemiańska
Date: Sun Oct 06 2024 - 15:35:13 EST


Characters A9/AA in the kernel codeset are ⌐/¬
(this is consistent with and documented inline in most other fonts).

However:
$ cat Acorn8x8.x/a9-⌐.x
██████
██
$ cat Acorn8x8.x/aa-¬.x
██████
██

0x7e 01111110 -> 01111110 0x7e
0x06 00000110 -> 01100000 0x60

Thus:
$ cat Acorn8x8.x/a9-⌐.x
██████
██
$ cat Acorn8x8.x/aa-¬.x
██████
██

Fixes: "[ARM PATCH] 1717/1: Add German umlauts to Acorn console font"
(first in Linux 2.6.2)
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@xxxxxxxxxxxxxxxxxx>
---
There doesn't seem to be a maintainer listed for lib/fonts/,
so Cc: Andrew per spec and Simona since she's the committer
for the latest few commits on this file? Hope that's right.

lib/fonts/font_acorn_8x8.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/fonts/font_acorn_8x8.c b/lib/fonts/font_acorn_8x8.c
index 18755c33d249..2e7b6c73a231 100644
--- a/lib/fonts/font_acorn_8x8.c
+++ b/lib/fonts/font_acorn_8x8.c
@@ -176,7 +176,7 @@ static const struct font_data acorndata_8x8 = {
/* A6 */ 0x1c, 0x06, 0x1e, 0x36, 0x1e, 0x00, 0x3e, 0x00,
/* A7 */ 0x1c, 0x36, 0x36, 0x36, 0x1c, 0x00, 0x3e, 0x00,
/* A8 */ 0x18, 0x00, 0x18, 0x18, 0x30, 0x66, 0x3c, 0x00,
-/* A9 */ 0x7e, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+/* A9 */ 0x7e, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/* AA */ 0x7e, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/* AB */ 0x40, 0xc0, 0x40, 0x4f, 0x41, 0x0f, 0x08, 0x0f,
/* AC */ 0x40, 0xc0, 0x40, 0x48, 0x48, 0x0a, 0x0f, 0x02,
--
2.39.2

Attachment: signature.asc
Description: PGP signature