From: Ben Harris Date: Sat, 28 Mar 2020 16:19:54 +0000 (+0000) Subject: Use 4-cell mosaic graphics to render block, lfblock, and rtblock X-Git-Tag: bedstead-002.001~14 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=c8c26e41a35ef356fa10c84d48b3439331761fd1;p=bedstead-debian.git Use 4-cell mosaic graphics to render block, lfblock, and rtblock The results are the same, but since their Unicode code points are with the other 4-cell characters, the source code it more intelligible. --- diff --git a/bedstead.c b/bedstead.c index a13b199..2223951 100644 --- a/bedstead.c +++ b/bedstead.c @@ -1418,9 +1418,9 @@ static struct glyph { {{012,012,012,033,000,033,012,012,012}, 0x256c, "SF440000" }, /* Block elements */ - {{ 3}, 0x2580, "upblock", MOS4 }, {{12}, 0x2584, "dnblock", MOS4 }, - {{0x5f}, 0x2588, "block", MOS }, - {{0x15}, 0x258c, "lfblock", MOS }, {{0x4a}, 0x2590, "rtblock", MOS }, + {{ 3}, 0x2580, "upblock", MOS4 }, {{12}, 0x2584, "dnblock", MOS4 }, + {{15}, 0x2588, "block", MOS4 }, + {{ 5}, 0x258c, "lfblock", MOS4 }, {{10}, 0x2590, "rtblock", MOS4 }, {{025,000,012,000,025,000,012,000,025}, 0x2591, "ltshade" }, {{022,011,004,022,011,004,022,011,004}, 0x2592, "shade" }, {{025,037,012,037,025,037,012,037,025}, 0x2593, "dkshade" },