From: Ben Harris Date: Wed, 4 Apr 2018 21:15:27 +0000 (+0100) Subject: Consistently put a blank line before each Unicode block heading. X-Git-Tag: bedstead-002.000~20 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=1006cc012b70cc24dd944694a1de7217e6b09bac;p=bedstead-debian.git Consistently put a blank line before each Unicode block heading. --- diff --git a/bedstead.c b/bedstead.c index 4e6b682..2584520 100644 --- a/bedstead.c +++ b/bedstead.c @@ -490,6 +490,7 @@ static struct glyph { /* Basic Latin */ {{010,004,002,000,000,000,000,000,000}, 0x0060, "grave" }, {{004,004,004,004,004,004,004,000,000}, 0x007c, "bar" }, + /* Latin-1 supplement */ {{000,000,000,000,000,000,000,000,000}, 0x00a0 }, /* non-breaking space */ {{000,000,004,000,004,004,004,004,004}, 0x00a1, "exclamdown" }, @@ -554,6 +555,7 @@ static struct glyph { {{002,004,021,021,021,021,017,001,016}, 0x00fd, "yacute" }, {{020,020,036,021,021,021,036,020,020}, 0x00fe, "thorn" }, {{012,000,021,021,021,021,017,001,016}, 0x00ff, "ydieresis" }, + /* Latin extended-A */ {{016,000,016,021,037,021,021,000,000}, 0x0100, "Amacron" }, {{016,000,016,001,017,021,017,000,000}, 0x0101, "amacron" }, @@ -645,6 +647,7 @@ static struct glyph { {{012,004,037,001,016,020,037,000,000}, 0x017d, "Zcaron" }, {{012,004,037,002,004,010,037,000,000}, 0x017e, "zcaron" }, {{002,004,004,004,004,004,004,000,000}, 0x017f, "longs" }, + /* Latin extended-B */ {{003,002,017,020,020,020,017,000,000}, 0x0188 }, /* Hooktop C */ {{016,021,001,037,021,021,016,000,000}, 0x018f }, /* Schwa */ @@ -661,6 +664,7 @@ static struct glyph { {{004,004,004,037,004,037,004,004,004}, 0x01c2 }, /* Double-barred pipe */ {{004,004,004,004,004,000,004,000,000}, 0x01c3 }, /* Exclamation point */ {{012,004,000,004,004,004,004,004,010}, 0x01f0 }, /* J wedge */ + /* IPA extensions */ {{000,000,036,021,036,020,016,000,000}, 0x0250 }, /* Turned A */ {{000,000,017,021,021,023,015,000,000}, 0x0251 }, /* Script A */ @@ -1040,10 +1044,12 @@ static struct glyph { {{030,024,030,022,027,022,021,000,000}, 0x20a7, "peseta" }, {{031,025,025,021,025,025,026,000,000}, 0x20aa }, /* newsheqel */ {{006,011,034,010,034,011,006,000,000}, 0x20ac, "Euro" }, + /* Letterlike symbols */ {{016,021,035,033,033,035,031,021,016}, 0x2117 }, /* phonographic */ {{016,021,021,021,021,012,033,000,000}, 0x2126 }, /* ohm sign */ {{033,012,021,021,021,021,016,000,000}, 0x2127 }, /* mho sign */ + /* Number forms */ {{020,020,020,020,027,001,002,004,004}, 0x2150 }, /* oneseventh */ {{020,020,020,020,022,005,003,001,002}, 0x2151 }, /* oneninth */ @@ -1061,6 +1067,7 @@ static struct glyph { {{030,020,030,010,022,005,002,005,002}, 0x215d, "fiveeighths" }, {{034,004,010,020,022,005,002,005,002}, 0x215e, "seveneighths" }, {{010,024,024,010,002,001,002,001,002}, 0x2189 }, /* zerothirds */ + /* Arrows */ {{000,004,004,025,016,004,000,000,000}, 0x2193, "arrowdown" }, {{000,012,021,037,021,012,000,000,000}, 0x2194, "arrowboth" }, @@ -1089,6 +1096,7 @@ static struct glyph { {{004,002,037,000,037,010,004,000,000}, 0x21cc }, /* harpoonsrightleft */ {{000,024,030,037,030,024,000,000,000}, 0x21e4 }, /* arrowtableft */ {{000,005,003,037,003,005,000,000,000}, 0x21e5 }, /* arrowtabright */ + /* Mathematical operators */ {{016,021,001,017,021,021,016,000,000}, 0x2202, "partialdiff" }, {{004,004,012,012,021,021,037,000,000}, 0x2206, "Delta" }, @@ -1131,6 +1139,7 @@ static struct glyph { {{000,000,000,025,000,000,000,000,000}, 0x22ef }, /* midline ellipsis */ {{000,001,000,004,000,020,000,000,000}, 0x22f0 }, /* /-diagonal ellipsis */ {{000,020,000,004,000,001,000,000,000}, 0x22f1 }, /* \-diagonal ellipsis */ + /* Miscellaneous technical */ {{004,012,021,021,021,021,037,000,000}, 0x2302, "house" }, {{000,000,037,020,020,000,000,000,000}, 0x2310, "revlogicalnot" }, @@ -1171,6 +1180,7 @@ static struct glyph { {{000,000,037,000,000,000,000,000,000}, 0x23bb }, /* horizontal scan 3 */ {{000,000,000,000,000,000,037,000,000}, 0x23bc }, /* horizontal scan 7 */ {{000,000,000,000,000,000,000,000,037}, 0x23bd }, /* horizontal scan 9 */ + /* Control pictures */ {{032,026,022,022,000,011,011,011,006}, 0x2400 }, /* NUL */ {{010,020,010,020,005,005,007,005,005}, 0x2401 }, /* SOH */ @@ -1210,6 +1220,7 @@ static struct glyph { {{032,026,022,022,000,004,004,004,007}, 0x2424 }, /* NL */ {{004,011,022,004,011,022,004,000,000}, 0x2425 }, /* pictorial DEL */ {{016,021,010,004,004,000,004,000,000}, 0x2426 }, /* pictorial SUB */ + /* Box drawing */ {{000,000,000,000,037,000,000,000,000}, 0x2500, "SF100000" }, {{000,000,000,037,037,037,000,000,000}, 0x2501 }, @@ -1308,6 +1319,7 @@ static struct glyph { {{004,004,004,037,004,037,004,004,004}, 0x256a, "SF540000" }, {{012,012,012,012,037,012,012,012,012}, 0x256b, "SF530000" }, {{012,012,012,033,000,033,012,012,012}, 0x256c, "SF440000" }, + /* Block elements */ {{037,037,037,037,037,000,000,000,000}, 0x2580, "upblock" }, {{000,000,000,000,037,037,037,037,037}, 0x2584, "dnblock" }, @@ -1317,6 +1329,7 @@ static 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" }, + /* Geometric shapes */ {{037,021,021,021,021,021,037,000,000}, 0x25a1, "H22073" }, {{000,000,016,016,016,000,000,000,000}, 0x25aa, "H18543" }, @@ -1346,6 +1359,7 @@ static struct glyph { {{000,016,021,035,025,016,000,000,000}, 0x25f5 }, /* circle lower left quad */ {{000,016,025,027,021,016,000,000,000}, 0x25f6 }, /* circle lower right quad */ {{000,016,021,027,025,016,000,000,000}, 0x25f7 }, /* circle upper right quad */ + /* Miscellaneous symbols */ {{001,002,004,010,005,003,007,000,000}, 0x2607 }, /* lightning */ {{037,022,024,030,025,023,027,000,000}, 0x2608 }, /* thunderstorm */ @@ -1367,9 +1381,11 @@ static struct glyph { {{010,010,013,015,011,012,014,000,000}, 0x266d }, /* flat */ {{010,013,015,011,013,015,001,000,000}, 0x266e }, /* natural */ {{002,013,016,033,016,032,010,000,000}, 0x266f }, /* sharp */ + /* Dingbats */ {{000,004,022,017,022,004,000,000,000}, 0x2708 }, /* airplane */ {{000,000,001,002,024,010,000,000,000}, 0x2713 }, /* tick (ACK) */ + /* Supplemental arrows-B */ {{000,037,016,025,004,004,000,000,000}, 0x2912 }, /* arrowupbar */ {{000,004,004,025,016,037,000,000,000}, 0x2913 }, /* arrowdownbar */ @@ -1393,13 +1409,17 @@ static struct glyph { {{000,020,020,037,022,024,000,000,000}, 0x295f }, {{000,004,014,024,004,037,000,000,000}, 0x2960 }, {{000,037,004,024,014,004,000,000,000}, 0x2961 }, + /* Miscellaneous mathematical symbols-A */ {{025,025,025,025,025,025,025,000,000}, 0x2980 }, /* triple vertical bar */ + /* Supplemental mathematical operators */ {{025,025,025,025,025,025,025,000,000}, 0x2af4 }, /* triple v bar operator */ {{025,025,025,025,025,025,025,025,025}, 0x2afc }, /* large triple vert bar */ + /* Miscellaneous symbols and arrows */ {{000,025,000,021,000,025,000,000,000}, 0x2b1a }, /* dottedsquare */ + /* Latin extended-C */ {{000,000,022,025,024,024,010,000,000}, 0x2c71 }, /* vhook */ @@ -1422,9 +1442,11 @@ static struct glyph { M(0x68), M(0x69), M(0x6a), M(0x6b), M(0x6c), M(0x6d), M(0x6e), M(0x6f), M(0x70), M(0x71), M(0x72), M(0x73), M(0x74), M(0x75), M(0x76), M(0x77), M(0x78), M(0x79), M(0x7a), M(0x7b), M(0x7c), M(0x7d), M(0x7e), M(0x7f), + /* Alphabetic presentation forms */ {{006,010,036,012,012,012,017,000,000}, 0xfb01, "fi" }, {{006,012,012,036,012,012,017,000,000}, 0xfb02, "fl" }, + /* Specials */ {{016,021,025,011,016,012,016,000,000}, 0xfffd }, /* replacement */ {{037,021,021,021,021,021,037,000,000}, -1, ".notdef" },