From: Ben Harris Date: Thu, 26 Sep 2024 12:31:51 +0000 (+0100) Subject: Add U+2003 EM SPACE as a blank mosaic graphics character X-Git-Tag: bedstead-002.008~16 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=74e4de5b33fbbeebf12d340e446729d4fa0fb766;p=bedstead-debian.git Add U+2003 EM SPACE as a blank mosaic graphics character At least Noto Sans and Noto Sans Symbols2 think that EM SPACE should be the same width as mosaic graphics characters, and I think we could do with a space that doesn't get changed by 'palt'. --- diff --git a/bedstead.c b/bedstead.c index 905a65a..340a32b 100644 --- a/bedstead.c +++ b/bedstead.c @@ -480,6 +480,10 @@ static struct glyph { {{000,000,021,021,021,017,001,000,000}, U(0447) }, /* che */ /* Mosaic graphics common to all versions */ + {{0x00}, U(2003), /* em space */ MOS6 }, + {{0x15}, 0x258c, "lfblock", MOS6 }, + {{0x2a}, 0x2590, "rtblock", MOS6 }, + {{0x3f}, 0x2588, "block", MOS6 }, #define M(u) { {0x ## u * 21 / 20 + 1}, U(1FB ## u), MOS6 } /* */ M(00), M(01), M(02), M(03), M(04), M(05), M(06), M(07), M(08), M(09), M(0A), M(0B), M(0C), M(0D), M(0E), @@ -490,9 +494,6 @@ static struct glyph { M(2D), M(2E), M(2F), M(30), M(31), M(32), M(33), M(34), M(35), M(36), M(37), M(38), M(39), M(3A), M(3B), #undef M - {{0x15}, 0x258c, "lfblock", MOS6 }, - {{0x2a}, 0x2590, "rtblock", MOS6 }, - {{0x3f}, 0x2588, "block", MOS6 }, #define M(u) { {0x ## u - 0x50}, U(1CE ## u), SEP6 } /* */ M(51), M(52), M(53), M(54), M(55), M(56), M(57), M(58), M(59), M(5A), M(5B), M(5C), M(5D), M(5E), M(5F),