From: Ben Harris Date: Sun, 24 Nov 2013 00:15:08 +0000 (+0000) Subject: More fractions. X-Git-Tag: bedstead-001.000~48 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=05d4bf6242946df5eb039c8a2fe97cef0769d658;p=bedstead.git More fractions. This completes the Unicode fractions from the "Number forms" block. --- diff --git a/bedstead.c b/bedstead.c index 92dd145..ede12f6 100644 --- a/bedstead.c +++ b/bedstead.c @@ -607,10 +607,22 @@ struct glyph { {{010,004,004,004,010,000,000,000,000}, 0x207e }, /* parenrightsuperior */ {{000,000,014,012,012,000,000,000,000}, 0x207f }, /* nsuperior */ {{016,021,035,033,033,035,031,021,016}, 0x2117 }, /* phonographic */ + {{020,020,020,020,027,001,002,004,004}, 0x2150 }, /* oneseventh */ + {{020,020,020,020,022,005,003,001,002}, 0x2151 }, /* oneninth */ + {{010,010,010,010,000,022,025,025,022}, 0x2152 }, /* onetenth */ + {{020,020,020,020,026,001,006,001,006}, 0x2153 }, /* onethird */ + {{020,010,010,020,032,001,002,001,002}, 0x2154 }, /* twothirds */ + {{020,020,020,020,027,024,006,001,006}, 0x2155 }, /* onefifth */ + {{020,010,010,020,033,002,003,001,002}, 0x2156 }, /* twofifths */ + {{020,010,020,010,023,002,003,001,002}, 0x2157 }, /* threefifths */ + {{004,014,024,034,007,002,003,001,002}, 0x2158 }, /* fourfifths */ + {{020,020,020,020,022,004,006,005,002}, 0x2159 }, /* onesixth */ + {{030,020,030,010,022,004,006,005,002}, 0x215a }, /* fivesixths */ {{020,020,020,020,022,005,002,005,002}, 0x215b, "oneeighth" }, {{020,010,020,010,022,005,002,005,002}, 0x215c, "threeeighths" }, {{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 */ {{000,004,004,025,016,004,000,000,000}, 0x2193, "arrowdown" }, {{000,012,021,037,021,012,000,000,000}, 0x2194, "arrowboth" }, {{004,016,025,004,025,016,004,000,000}, 0x2195, "arrowupdn" },