chiark / gitweb /
Lots of diagonal bits of large type pieces
authorBen Harris <bjh21@bjh21.me.uk>
Mon, 22 Sep 2025 22:19:06 +0000 (23:19 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 4 Oct 2025 15:32:55 +0000 (16:32 +0100)
This is essentially all of them apart from the W and M pieces.  There
turn out to be obvious places to have the diagonals cross character-cell
boundaries such that they should all join up.  Whether this gives and
aesthetically tolerable outcome, I'm not so sure.

The W and M pieces are a bit confusing, because they're meant to span
two character cells vertically, but the obvious design doesn't.

bedstead.c

index 5d58d346c3439e8e7e7c3c537764c87cd70e628e..e7e788f91851b847bda4d293a107cafe2c36a6f1 100644 (file)
@@ -2768,25 +2768,42 @@ static struct glyph {
  UALIAS(U(1CE1A), "uni256D"),  /* HP large type upper left arc */
  UALIAS(U(1CE1B), "SF010000"), /* upper left corner */
  UALIAS(U(1CE1C), "uni2577"),  /* upper terminal */
+ {"\00\00\00\00\04\06\05\04\04", U(1CE1D), JOIN }, /* upper left crotch */
  UALIAS(U(1CE1E), "uni2576"),  /* left arm */
  UALIAS(U(1CE1F), "SF100000"), /* crossbar */
  UALIAS(U(1CE20), "SF060000"), /* crossbar with lower stem */
+ {"\00\00\00\00\00\00\20\10\04", U(1CE22), JOIN }, /* diagonal lower left */
  UALIAS(U(1CE24), "uni256E"),  /* upper right arc */
  UALIAS(U(1CE25), "uni2574"),  /* right arm */
+ {"\00\00\00\00\04\14\24\04\04", U(1CE26), JOIN }, /* upper right crotch */
  UALIAS(U(1CE27), "SF030000"), /* upper right corner */
  UALIAS(U(1CE28), "SF080000"), /* stem with right crossbar */
  UALIAS(U(1CE29), "SF110000"), /* stem */
+ {"\04\02\01\00\00\00\01\02\04", U(1CE2A), JOIN }, /* diag upr+lwr right */
+ {"\04\02\01\00\00\00\00\00\00", U(1CE2B), JOIN }, /* diagonal upper right */
+ {"\00\00\00\00\00\00\01\02\04", U(1CE2C), JOIN }, /* diagonal lower right */
  {"\04\04\04\02\01\02\04\04\04", U(1CE2E), JOIN }, /* top+btm left arc */
+ {"\00\00\01\02\34\02\01\00\00", U(1CE2F), JOIN }, /* centre of K */
+ {"\00\00\21\12\04\12\21\00\00", U(1CE32), JOIN }, /* centre of X */
+ {"\00\00\21\12\04\04\04\04\04", U(1CE33), JOIN }, /* centre of Y */
+ {"\00\00\01\02\37\10\20\00\00", U(1CE34), JOIN }, /* centre of Z w/crossbar */
+ {"\00\00\01\02\04\04\04\04\04", U(1CE35), JOIN }, /* raised upper left arc */
  UALIAS(U(1CE36), "SF090000"), /* stem with left crossbar */
  {"\04\04\04\10\20\10\04\04\04", U(1CE37), JOIN }, /* top+btm right arc */
+ {"\04\10\20\00\00\00\20\10\04", U(1CE38), JOIN }, /* diag upr+lwr left */
+ {"\04\04\24\14\04\04\04\04\04", U(1CE39), JOIN }, /* stem with left joint */
  UALIAS(U(1CE3A), "SF050000"), /* stem with crossbar */
+ {"\04\10\20\00\00\00\00\00\00", U(1CE3B), JOIN }, /* diagonal upper left */
  UALIAS(U(1CE3C), "uni2575"),  /* lower terminal */
  UALIAS(U(1CE3D), "SF020000"), /* lower left corner */
  UALIAS(U(1CE3E), "uni2570"),  /* lower left arc */
+ {"\04\04\05\06\04\00\00\00\00", U(1CE3F), JOIN }, /* lower left crotch */
  UALIAS(U(1CE40), "SF070000"), /* crossbar with upper stem */
+ {"\00\00\21\12\04\00\00\00\00", U(1CE41), JOIN }, /* vertex of V */
  UALIAS(U(1CE43), "uni256F"),  /* lower right arc */
  UALIAS(U(1CE44), "SF040000"), /* lower right corner */
  {"\04\04\24\10\26\00\00\00\00", U(1CE45), JOIN }, /* lwr rt arc with tail */
+ {"\04\04\24\14\04\00\00\00\00", U(1CE46), JOIN }, /* lower right crotch */
  UALIAS(U(1CEA0), "u1FB1E"), /* right half lower quarter block (octant-8) */
  UALIAS(U(1CEA3), "u1FB0F"), /* left half lower quarter block (octant-7) */
  UALIAS(U(1CEA8), "u1FB00"), /* left half upper quarter block (octant-1) */