From: Ben Harris Date: Tue, 3 Dec 2013 21:55:25 +0000 (+0000) Subject: Character encoding tweaks for compatibility with ZVBI. X-Git-Tag: bedstead-001.000~31 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=75b7e5b8808436037dadb546fe1ea3194dd3ccaf;p=bedstead-debian.git Character encoding tweaks for compatibility with ZVBI. Character 6/0 on the SAA5050 changes from U+2013 EN DASH to U+2014 EM DASH. Character 7/15 (all variants) changes from U+25AE BLACK VERTICAL RECTANGLE to U+25A0 BLACK SQUARE. Shape of U+25A1 WHITE SQUARE tweaked to match the new U+25A0. --- diff --git a/bedstead.c b/bedstead.c index 0188e58..98cdad7 100644 --- a/bedstead.c +++ b/bedstead.c @@ -234,7 +234,7 @@ struct glyph { {{004,004,004,000,004,004,004,000,000}, 0x00a6, "brokenbar" }, {{030,004,004,002,004,004,030,000,000}, 0x007d, "braceright" }, {{010,025,002,000,000,000,000,000,000}, 0x007e, "asciitilde" }, - {{037,037,037,037,037,037,037,000,000}, 0x25ae }, /* filledvertrect */ + {{037,037,037,037,037,037,037,000,000}, 0x25a0, "filledbox" }, /* Extra characters found in the English (SAA5050) character set */ {{006,011,010,034,010,010,037,000,000}, 0x00a3, "sterling" }, @@ -243,7 +243,7 @@ struct glyph { {{020,020,020,020,026,001,002,004,007}, 0x00bd, "onehalf" }, {{000,004,002,037,002,004,000,000,000}, 0x2192, "arrowright" }, {{000,004,016,025,004,004,000,000,000}, 0x2191, "arrowup" }, - {{000,000,000,037,000,000,000,000,000}, 0x2013, "endash" }, + {{000,000,000,037,000,000,000,000,000}, 0x2014, "emdash" }, {{010,010,010,010,011,003,005,007,001}, 0x00bc, "onequarter" }, {{012,012,012,012,012,012,012,000,000}, 0x2016, "dblverticalbar" }, {{030,004,030,004,031,003,005,007,001}, 0x00be, "threequarters" }, @@ -719,8 +719,7 @@ struct glyph { {{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" }, - {{000,037,037,037,037,037,000,000,000}, 0x25a0, "filledbox" }, - {{000,037,021,021,021,037,000,000,000}, 0x25a1, "H22073" }, + {{037,021,021,021,021,021,037,000,000}, 0x25a1, "H22073" }, {{000,000,016,016,016,000,000,000,000}, 0x25aa, "H18543" }, {{000,000,016,012,016,000,000,000,000}, 0x25ab, "H18551" }, {{000,000,037,037,037,000,000,000,000}, 0x25ac, "filledrect" },