chiark / gitweb /
Move various small caps to dedicated Unicode code points
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 20 Sep 2025 22:06:20 +0000 (23:06 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 20 Sep 2025 22:40:25 +0000 (23:40 +0100)
Specifically, this adds:

U+1D0C LATIN LETTER SMALL CAPITAL L WITH STROKE
U+1D23 LATIN LETTER SMALL CAPITAL EZH
U+1D7B LATIN SMALL CAPITAL LETTER I WITH STROKE
U+1DF04 LATIN LETTER SMALL CAPITAL L WITH BELT
U+1DF10 LATIN LETTER SMALL CAPITAL TURNED K

Three of this had private-use encodings that appeared in earlier
Bedstead releases.  These encodings have been preserved for backward
compatibility.

bedstead.c

index fc8b59f4c43ea29d2af4214d159a47c47c0bbbc2..bdfa86f79e80cf10d6bbfbcb9ca903375ff630d5 100644 (file)
@@ -828,7 +828,7 @@ static struct glyph {
  ALIAS("ldot.sc", "Ldot.c2sc"),
  ALIAS("ldot.sc.narrow", "Ldot.c2sc.narrow"),
  {"\10\10\14\30\10\10\17\00\00", 0x0141, "Lslash" },
{"\00\00\10\14\30\10\17\00\00", 0xf199, "Lslash.c2sc" },
UALIAS(0xf199, "Lslash.c2sc", "uni1D0C"),
  {"\14\04\06\14\04\04\16\00\00", 0x0142, "lslash" },
  ALIAS("lslash.sc", "Lslash.c2sc"),
  {"\02\04\21\31\25\23\21\00\00", 0x0143, "Nacute" },
@@ -950,7 +950,7 @@ static struct glyph {
  {"\16\04\04\04\04\04\02\00\00", U(0196) }, /* Latin Iota */
  {"\00\00\16\04\04\04\02\00\00", -1, "uni0196.c2sc" },
  {"\16\04\04\16\04\04\16\00\00", U(0197) }, /* I with stroke */
{"\00\00\16\04\16\04\16\00\00", -1, "uni0197.c2sc" },
ALIAS("uni0197.c2sc", "uni1D7B"),
  {"\06\10\11\12\14\12\11\00\00", U(0199) }, /* Hooktop K */
  {"\30\04\16\04\12\12\21\00\00", U(019B) }, /* Barred lambda */
  {"\11\11\15\13\11\11\11\10\20", U(019D) }, /* N with left hook */
@@ -968,7 +968,7 @@ static struct glyph {
  {"\22\21\21\21\21\22\14\00\00", U(01B2) }, /* V with hook */
  ALIAS("uni01B2.c2sc", "uni028B"),
  {"\37\02\04\16\01\21\16\00\00", U(01B7) }, /* Ezh */
{"\00\00\37\01\06\21\16\00\00", -1, "uni01B7.c2sc" },
ALIAS("uni01B7.c2sc", "uni1D23"),
  {"\16\21\05\02\15\20\37\00\00", U(01BB) }, /* Barred two */
  {"\04\04\04\04\04\04\04\04\04", U(01C0) }, /* Pipe */
  {"\12\12\12\12\12\12\12\12\12", U(01C1) }, /* Double pipe */
@@ -1404,6 +1404,7 @@ static struct glyph {
  {"\00\00\01\01\01\21\16\00\00", U(1D0A) }, /* small cap J */
  {"\00\00\02\02\02\22\14\00\00", 0xf21c, "uni1D0A.narrow" },
  {"\00\00\21\22\34\22\21\00\00", U(1D0B) }, /* small cap K */
+ {"\00\00\10\14\30\10\17\00\00", U(1D0C) }, /* small cap Lslash */
  {"\00\00\21\33\25\21\21\00\00", U(1D0D) }, /* small cap M */
  {"\00\00\21\23\25\31\21\00\00", U(1D0E) }, /* small cap reversed N */
  {"\00\00\16\21\21\21\16\00\00", U(1D0F) }, /* small cap O */
@@ -1418,11 +1419,13 @@ static struct glyph {
  {"\00\00\21\21\12\12\04\00\00", U(1D20) }, /* small cap V */
  {"\00\00\21\25\25\25\12\00\00", U(1D21) }, /* small cap W */
  {"\00\00\37\01\16\20\37\00\00", U(1D22) }, /* small cap Z */
+ {"\00\00\37\01\06\21\16\00\00", U(1D23) }, /* small cap Ezh */
  {"\30\04\34\24\10\00\00\00\00", U(1D4A) }, /* Superscript schwa */
  {"\00\00\00\00\04\00\14\04\16", U(1D62) }, /* iinferior */
  {"\00\00\00\00\00\00\12\14\10", U(1D63) }, /* rinferior */
  {"\00\00\00\00\00\00\12\12\06", U(1D64) }, /* uinferior */
  {"\00\00\00\00\00\00\12\12\04", U(1D65) }, /* vinferior */
+ {"\00\00\16\04\16\04\16\00\00", U(1D7B) }, /* small cap I with stroke */
 
  /* Phonetic extensions supplement */
  {"\10\24\34\24\10\00\00\00\00", U(1DBF) }, /* Superscript theta */
@@ -2594,12 +2597,12 @@ static struct glyph {
  {"\16\21\01\06\01\21\16\00\00", U(A7AB) }, /* reversed Epsilon */
  {"\00\00\16\21\06\21\16\00\00", 0xf1c7, "uniA7AB.c2sc" },
  {"\04\04\14\25\16\04\07\00\00", U(A7AD) }, /* belted L */
{"\00\00\14\25\16\04\07\00\00", 0xf1c8, "uniA7AD.c2sc" },
UALIAS(0xf1c8, "uniA7AD.c2sc", "u1DF04"),
  {"\37\25\04\04\04\25\37\00\00", U(A7AE) }, /* cap small-cap I */
  {"\00\00\37\25\04\25\37\00\00", 0xf1c9, "uniA7AE.c2sc" },
  {"\00\00\16\21\25\22\15\00\00", U(A7AF) }, /* small cap Q */
  {"\21\11\05\03\05\11\21\00\00", U(A7B0) }, /* turned K */
{"\00\00\21\11\07\11\21\00\00", 0xf1ca, "uniA7B0.c2sc" },
UALIAS(0xf1ca, "uniA7B0.c2sc", "u1DF10"),
  {"\04\04\04\04\04\04\37\00\00", U(A7B1) }, /* turned T */
  {"\00\00\04\04\04\04\37\00\00", 0xf1cb, "uniA7B1.c2sc" },
  {"\01\01\01\11\25\25\16\04\00", U(A7B2) }, /* crossed-tail J */
@@ -2788,6 +2791,10 @@ static struct glyph {
  {"\00\00\27\25\25\25\17\01\16", U(1D56A) }, /* double-struck y */
  {"\00\00\37\11\12\22\37\00\00", U(1D56B) }, /* double-struck z */
 
+ /* Latin extended-G */
+ {"\00\00\14\25\16\04\07\00\00", U(1DF04) }, /* small cap belted L */
+ {"\00\00\21\11\07\11\21\00\00", U(1DF10) }, /* small cap turned K */
+
  /* Transport and map symbols */
  {"\04\12\12\12\33\33\25\00\00", U(1F680) }, /* rocket */
  {"\00\34\10\11\27\10\00\00\00", U(1F681) }, /* helicopter */