Horizontal square brackets

I was looking for something completely different in the Unicode
Standard and found a note that U+23B4..U+23B6 can be used in terminal
applications with text printed vertically.  So obviously I had to add
them.

Apparently the same doesn't apply to the other horizontal brackets at
U+23DC..U+32E1, which are purely stretchy mathematical brackets and
not interesting to us.

The odd positioning in the character cell is based on the Unicode code
chart.
This commit is contained in:
Ben Harris 2025-11-20 23:13:15 +00:00
parent 15d1191aeb
commit 331392b073

View File

@ -2118,6 +2118,9 @@ static struct glyph {
{"\30\04\04\04\04\04\04\04\03", U(23B1) }, /* two-level brace \ */
{"\37\20\10\10\04\04\02\02\01", U(23B2), JOIN_D }, /* summation top */
{"\01\02\02\04\04\10\10\20\37", U(23B3), JOIN_U }, /* summation bottom */
{"\37\21\21\00\00\00\00\00\00", U(23B4) }, /* brackettop */
{"\00\00\00\00\21\21\37\00\00", U(23B5) }, /* bracketbottom */
{"\21\21\37\00\37\21\21\00\00", U(23B6) }, /* bracketbottom + brackettop */
{"\37\00\00\00\00\00\00\00\00", U(23BA), JOIN_H }, /* horizontal scan 1 */
{"\00\00\37\00\00\00\00\00\00", U(23BB), JOIN_H }, /* horizontal scan 3 */
{"\00\00\00\00\00\00\37\00\00", U(23BC), JOIN_H }, /* horizontal scan 7 */