chiark / gitweb /
Quine corners
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 30 Apr 2024 21:59:36 +0000 (22:59 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 30 Apr 2024 21:59:36 +0000 (22:59 +0100)
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

index 731bc1d25baa10a66276dbc77a31ed65813677d4..f66c957339ec729cf9ec3b718b6cdba238486a14 100644 (file)
@@ -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 */