chiark / gitweb /
Move *.sep4 glyphs to compatibility aliases
authorBen Harris <bjh21@bjh21.me.uk>
Mon, 25 Nov 2024 22:24:35 +0000 (22:24 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Mon, 25 Nov 2024 22:24:35 +0000 (22:24 +0000)
We've now got proper Unicode versions of them.

bedstead.c

index 1fb5e81ee5eb05effc1cb8a6f9544d3d6adeec2b..d47744636c3548debe81061eb669307f75bdaeb4 100644 (file)
@@ -2039,15 +2039,12 @@ static struct glyph {
  {"\16\16\16\16\16\04\04\04\04", U(257F), JOIN },
 
  /* Block elements */
- {{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 },
+ {{0x03}, 0x2580, "upblock", MOS4 },
+ {{0x0c}, 0x2584, "dnblock", MOS4 },
  {"\25\00\12\00\25\00\12\00\25", 0x2591, "ltshade" },
  {"\22\11\04\22\11\04\22\11\04", 0x2592, "shade" },
  {"\25\37\12\37\25\37\12\37\25", 0x2593, "dkshade" },
-#define M(x, u) { {x}, U(u), MOS4 }, { {x}, 0xf1e0 + x, "uni" #u ".sep4", SEP4 }
+#define M(x, u) { {x}, U(u), MOS4 }
  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),
@@ -2625,6 +2622,19 @@ static struct glyph {
 
  /* Compatibility alias added in 3.246. */
  ALIAS("Wdieresis.sc", "wdieresis"),
+
+ /* Compatibility aliases for 4-cell separated graphics. */
+ {{0x3}, 0xf1e3, "upblock.sep4", SEP4 },
+ {{0xc}, 0xf1ec, "dnblock.sep4", SEP4 },
+ {{0xf}, 0xf1ef, "block.sep4",   SEP4 },
+ {{0x5}, 0xf1e5, "lfblock.sep4", SEP4 },
+ {{0xa}, 0xf1ea, "rtblock.sep4", SEP4 },
+#define M(x, u) { {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),
+#undef M
+
  /* and finally */
  {"\37\21\21\21\21\21\37\00\00", 0xf1ff, ".notdef" },
 };