From: Ben Harris Date: Mon, 25 Nov 2024 22:44:19 +0000 (+0000) Subject: Actual aliases for old names of separated 4-cell graphics X-Git-Tag: bedstead-3.251~91 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=87904785272cb14c880d078ef00fa097f3430042;p=bedstead.git Actual aliases for old names of separated 4-cell graphics That saves a few hundred bytes from the OTF. --- diff --git a/bedstead.c b/bedstead.c index d477446..8b8632b 100644 --- a/bedstead.c +++ b/bedstead.c @@ -2624,15 +2624,12 @@ static struct glyph { 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), +#define M(x, n) \ + { .alias_of = "u1CC2" #x, 0xf1e ## x, n ".sep4", IS_ALIAS } + /* */ M(1, "uni2598"), M(2, "uni259D"), M(3, "upblock"), + M(4, "uni2596"), M(5, "lfblock"), M(6, "uni259E"), M(7, "uni259B"), + M(8, "uni2597"), M(9, "uni259A"), M(A, "rtblock"), M(B, "uni259C"), + M(C, "dnblock"), M(D, "uni2599"), M(E, "uni259F"), M(F, "block"), #undef M /* and finally */