From: Ben Harris Date: Mon, 25 Nov 2024 22:24:35 +0000 (+0000) Subject: Move *.sep4 glyphs to compatibility aliases X-Git-Tag: bedstead-3.251~92 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=8a5da75991c8e05f1453b2fa28e11fee34f712a9;p=bedstead.git Move *.sep4 glyphs to compatibility aliases We've now got proper Unicode versions of them. --- diff --git a/bedstead.c b/bedstead.c index 1fb5e81..d477446 100644 --- a/bedstead.c +++ b/bedstead.c @@ -2039,15 +2039,12 @@ static struct glyph { {"\16\16\16\16\16\04\04\04\04", U(257F), JOIN }, /* Block elements */ - {{0x03}, 0x2580, "upblock", MOS4 }, {{0x3}, 0xf1e3, "upblock.sep4", SEP4 }, - {{0x0c}, 0x2584, "dnblock", MOS4 }, {{0xc}, 0xf1ec, "dnblock.sep4", SEP4 }, - {{0xf}, 0xf1ef, "block.sep4", SEP4 }, - {{0x5}, 0xf1e5, "lfblock.sep4", SEP4 }, - {{0xa}, 0xf1ea, "rtblock.sep4", SEP4 }, + {{0x03}, 0x2580, "upblock", MOS4 }, + {{0x0c}, 0x2584, "dnblock", MOS4 }, {"\25\00\12\00\25\00\12\00\25", 0x2591, "ltshade" }, {"\22\11\04\22\11\04\22\11\04", 0x2592, "shade" }, {"\25\37\12\37\25\37\12\37\25", 0x2593, "dkshade" }, -#define M(x, u) { {x}, U(u), MOS4 }, { {x}, 0xf1e0 + x, "uni" #u ".sep4", SEP4 } +#define M(x, u) { {x}, U(u), MOS4 } M( 4, 2596), M( 8, 2597), M( 1, 2598), M(13, 2599), M( 9, 259A), M( 7, 259B), M(11, 259C), M( 2, 259D), M( 6, 259E), M(14, 259F), @@ -2625,6 +2622,19 @@ static struct glyph { /* Compatibility alias added in 3.246. */ ALIAS("Wdieresis.sc", "wdieresis"), + + /* Compatibility aliases for 4-cell separated graphics. */ + {{0x3}, 0xf1e3, "upblock.sep4", SEP4 }, + {{0xc}, 0xf1ec, "dnblock.sep4", SEP4 }, + {{0xf}, 0xf1ef, "block.sep4", SEP4 }, + {{0x5}, 0xf1e5, "lfblock.sep4", SEP4 }, + {{0xa}, 0xf1ea, "rtblock.sep4", SEP4 }, +#define M(x, u) { {x}, 0xf1e0 + x, "uni" #u ".sep4", SEP4 } + M( 4, 2596), M( 8, 2597), M( 1, 2598), M(13, 2599), + M( 9, 259A), M( 7, 259B), M(11, 259C), M( 2, 259D), + M( 6, 259E), M(14, 259F), +#undef M + /* and finally */ {"\37\21\21\21\21\21\37\00\00", 0xf1ff, ".notdef" }, };