From 9e442c62d3e5c755af43bdcb936faf9d41bd7d15 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 4 May 2024 20:30:52 +0100 Subject: [PATCH] Add halfwidth forms of some characters Specifically halfwidth forms of characters where we already have ambiguous versions. Bedstead is intrinsically a half-width font, so the halfwidth forms should look the same as the ambiguous ones. --- bedstead.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bedstead.c b/bedstead.c index a86becf..f39aeb5 100644 --- a/bedstead.c +++ b/bedstead.c @@ -1992,6 +1992,15 @@ static struct glyph { {{006,010,036,012,012,012,017,000,000}, 0xfb01, "fi" }, {{006,012,012,036,012,012,017,000,000}, 0xfb02, "fl" }, + /* Halfwidth and fullwidth forms */ + {{004,004,004,004,004,004,004,004,004}, U(FFE8) }, /* halfwidth U+2502 */ + {{000,004,010,037,010,004,000,000,000}, U(FFE9) }, /* halfwidth U+2190 */ + {{000,004,016,025,004,004,000,000,000}, U(FFEA) }, /* halfwidth U+2191 */ + {{000,004,002,037,002,004,000,000,000}, U(FFEB) }, /* halfwidth U+2192 */ + {{000,004,004,025,016,004,000,000,000}, U(FFEC) }, /* halfwidth U+2193 */ + {{037,037,037,037,037,037,037,000,000}, U(FFED) }, /* halfwidth U+25A0 */ + {{000,016,021,021,021,016,000,000,000}, U(FFEE) }, /* halfwidth U+25CB */ + /* Specials */ {{016,021,025,011,016,012,016,000,000}, U(FFFD) }, /* replacement */ -- 2.30.2