chiark / gitweb /
Add PUA mappings for separated 4-cell graphics
authorBen Harris <bjh21@bjh21.me.uk>
Mon, 23 Sep 2024 15:22:59 +0000 (16:22 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Mon, 23 Sep 2024 15:22:59 +0000 (16:22 +0100)
I'm a bit uncertain about this because I currently think these glyphs
shouldn't be in Bedstead at all.  They're not based on any real system
or standard, so they don't really have any good reason to be here.
But here they are nonetheless, at least until Bedstead 003.000.  So
while I don't really want to encourage their use, I think gratuitously
leaving them difficult to use will just annoy anyone who actually has
a use for them and they thus deserve encodings.

bedstead.c

index 31b17b5ee542d672bac21cf1313faad76df8767d..e83c878b3bcbf9c8dbb73e3f06f3ce3fa07e8699 100644 (file)
@@ -2006,15 +2006,15 @@ static struct glyph {
  {{016,016,016,016,016,004,004,004,004}, U(257F) },
 
  /* Block elements */
- {{0x03}, 0x2580, "upblock", MOS4 }, {{0x03}, -1, "upblock.sep4", SEP4 },
- {{0x0c}, 0x2584, "dnblock", MOS4 }, {{0x0c}, -1, "dnblock.sep4", SEP4 },
- {{0x0f}, -1, "block.sep4",   SEP4 },
- {{0x05}, -1, "lfblock.sep4", SEP4 },
- {{0x0a}, -1, "rtblock.sep4", SEP4 },
+ {{0x03}, 0x2580, "upblock", MOS4 }, {{0x3}, 0xf1e3, "upblock.sep4", SEP4 },
+ {{0x0c}, 0x2584, "dnblock", MOS4 }, {{0xc}, 0xf1ec, "dnblock.sep4", SEP4 },
+ {{0xf}, 0xf1ef, "block.sep4",   SEP4 },
+ {{0x5}, 0xf1e5, "lfblock.sep4", SEP4 },
+ {{0xa}, 0xf1ea, "rtblock.sep4", SEP4 },
  {{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" },
-#define M(x, u) { {x}, U(u), MOS4 }, { {x}, -1, "uni" #u ".sep4", SEP4 }
+#define M(x, u) { {x}, U(u), MOS4 }, { {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),