From: Ben Harris Date: Sat, 4 May 2024 19:30:52 +0000 (+0100) Subject: Add halfwidth forms of some characters X-Git-Tag: bedstead-002.005~19 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=9e442c62d3e5c755af43bdcb936faf9d41bd7d15;p=bedstead.git 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. --- 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 */