chiark / gitweb /
More fractions.
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 24 Nov 2013 00:15:08 +0000 (00:15 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 24 Nov 2013 00:15:08 +0000 (00:15 +0000)
This completes the Unicode fractions from the "Number forms" block.

bedstead.c

index 92dd145810c3abb8b61075ba2ca4b2507809f6a3..ede12f6914c43e5a88e929f38f6f0bdb54f829db 100644 (file)
@@ -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" },