From: Ben Harris Date: Sun, 20 Jan 2019 00:54:32 +0000 (+0000) Subject: Put mosaic graphics in their new home. X-Git-Tag: bedstead-002.001~45 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=a37c1240db83e7236228c6d88acb86c1c4088337;p=bedstead-debian.git Put mosaic graphics in their new home. That's the U+1FB00 block. Annoyingly, no gaps are left for the characters unified elsewhere, so the character codes are slightly unsystematic. --- diff --git a/bedstead.c b/bedstead.c index 566c5ed..5a84cc2 100644 --- a/bedstead.c +++ b/bedstead.c @@ -1454,6 +1454,7 @@ static struct glyph { M(0x68), M(0x69), M(0x6a), M(0x6b), M(0x6c), M(0x6d), M(0x6e), M(0x6f), M(0x70), M(0x71), M(0x72), M(0x73), M(0x74), M(0x75), M(0x76), M(0x77), M(0x78), M(0x79), M(0x7a), M(0x7b), M(0x7c), M(0x7d), M(0x7e), M(0x7f), +#undef M /* Alphabetic presentation forms */ {{006,010,036,012,012,012,017,000,000}, 0xfb01, "fi" }, @@ -1519,6 +1520,22 @@ static struct glyph { {{000,007,017,027,037,011,000,000,000}, 0x1f69a }, /* deliverytruck */ /* Graphics for legacy computing */ +#define M(x) {{((x) & 0x1f|((x) & 0x20) << 1)}, 0x1fb00 + (x) - 1, NULL, MOS } + /* SP */ M(0x01), M(0x02), M(0x03), M(0x04), M(0x05), M(0x06), M(0x07), + M(0x08), M(0x09), M(0x0a), M(0x0b), M(0x0c), M(0x0d), M(0x0e), M(0x0f), + M(0x10), M(0x11), M(0x12), M(0x13), M(0x14), /* lfblock */ +#undef M +#define M(x) {{((x) & 0x1f|((x) & 0x20) << 1)}, 0x1fb00 + (x) - 2, NULL, MOS } + M(0x16), M(0x17), + M(0x18), M(0x19), M(0x1a), M(0x1b), M(0x1c), M(0x1d), M(0x1e), M(0x1f), + M(0x20), M(0x21), M(0x22), M(0x23), M(0x24), M(0x25), M(0x26), M(0x27), + M(0x28), M(0x29), /* rtblock */ +#undef M +#define M(x) {{((x) & 0x1f|((x) & 0x20) << 1)}, 0x1fb00 + (x) - 3, NULL, MOS } + M(0x2b), M(0x2c), M(0x2d), M(0x2e), M(0x2f), + M(0x30), M(0x31), M(0x32), M(0x33), M(0x34), M(0x35), M(0x36), M(0x37), + M(0x38), M(0x39), M(0x3a), M(0x3b), M(0x3c), M(0x3d), M(0x3e), /* block */ +#undef M {{030,024,022,021,027,030,000,000,000}, 0x1fbb0 }, /* arrowheadptr */ {{000,012,033,000,033,012,000,000,000}, 0x1fbbb }, /* voided Greek cross */ {{000,037,001,005,001,037,000,000,000}, 0x1fbbc }, /* right open square dot */