chiark / gitweb /
Convert "block", "lfblock" and "rtblock" to mosaic graphics.
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 20 Jan 2019 00:26:49 +0000 (00:26 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 20 Jan 2019 00:26:49 +0000 (00:26 +0000)
In Unicode, these will be unified with 6-cell mosaic graphics, so we
need to use the mosaic graphics system for them.

bedstead.c

index ceba877985c66dc8c849a162ae8b1b9ec00ab945..566c5ed2912659925ac33b6a8258dbc2041a97aa 100644 (file)
@@ -1335,9 +1335,9 @@ static struct glyph {
  /* Block elements */
  {{037,037,037,037,037,000,000,000,000}, 0x2580, "upblock" },
  {{000,000,000,000,037,037,037,037,037}, 0x2584, "dnblock" },
- {{037,037,037,037,037,037,037,037,037}, 0x2588, "block" },
- {{034,034,034,034,034,034,034,034,034}, 0x258c, "lfblock" },
- {{007,007,007,007,007,007,007,007,007}, 0x2590, "rtblock" },
+ {{0x5f}, 0x2588, "block",   MOS },
+ {{0x15}, 0x258c, "lfblock", MOS },
+ {{0x4a}, 0x2590, "rtblock", MOS },
  {{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" },