From 975e2a1fc710c48fb4527e23acd49649a87de51b Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 30 Apr 2024 22:59:36 +0100 Subject: [PATCH] Quine corners One of these is used by BQN, but obviously if I'm going to have one I should have all four. According to Unicode document L2/07-004, "Proposal to add Medievalist and Iranianist punctuation characters to the UCS", "The ideally formed QUINE CORNER (U+231C-U+231F) has equal-length sides and sit at cap height and on the baseline". I've tried to implement that here. --- bedstead.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bedstead.c b/bedstead.c index 731bc1d..f66c957 100644 --- a/bedstead.c +++ b/bedstead.c @@ -1451,6 +1451,10 @@ static struct glyph { {{010,010,010,010,010,010,016,000,000}, U(230A) }, /* left floor */ {{002,002,002,002,002,002,016,000,000}, U(230B) }, /* right floor */ {{000,000,037,020,020,000,000,000,000}, 0x2310, "revlogicalnot" }, + {{037,020,020,020,020,000,000,000,000}, U(231C) }, /* top left corner */ + {{037,001,001,001,001,000,000,000,000}, U(231D) }, /* top right corner */ + {{000,000,020,020,020,020,037,000,000}, U(231E) }, /* bottom left corner */ + {{000,000,001,001,001,001,037,000,000}, U(231F) }, /* bottom right corner */ {{000,000,002,005,004,004,004,004,004}, 0x2320, "integraltp" }, {{004,004,004,004,004,024,010,000,000}, 0x2321, "integralbt" }, {{000,037,004,004,004,037,000,000,000}, U(2336) }, /* APL I-beam */ -- 2.30.2