chiark / gitweb /
Add some extra variant question-mark glyphs
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 14 Jan 2025 10:05:57 +0000 (10:05 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 14 Jan 2025 23:21:24 +0000 (23:21 +0000)
The inverted and reversed question-mark characters should obviously
change shape along with the normal one, so now they do.  This
conveniently tests the 'cvXX'/'ssXX' interaction without getting
tangled up with small caps as well.

Based on the different shapes of the glyphs in the Unicode code charts,
I've decided that glottal stops should not change their shapes along
with question marks, and should perhaps be different shapes entirely.

bedstead.c

index 37a31202d819186b1a3768a3eadbe14b4a4f23d0..fdf0252627d0c335dedbf28f7932d15095159dee 100644 (file)
@@ -600,6 +600,7 @@ static struct glyph {
  {"\16\21\21\21\16\00\37\00\00", 0x00ba, "ordmasculine" },
  {"\00\00\00\22\11\22\00\00\00", 0x00bb, "guillemotright" },
  {"\00\00\04\00\04\04\10\21\16", 0x00bf, "questiondown" },
+ {"\00\00\04\00\04\10\20\21\16", -1, "questiondown.open" },
  {"\10\04\16\21\37\21\21\00\00", 0x00c0, "Agrave" },
  {"\02\04\16\21\37\21\21\00\00", 0x00c1, "Aacute" },
  {"\04\12\16\21\37\21\21\00\00", 0x00c2, "Acircumflex" },
@@ -2326,6 +2327,7 @@ static struct glyph {
  {"\00\00\21\00\00\00\21\00\00", U(2E2C) }, /* squared four dots */
  {"\00\00\04\00\25\00\04\00\00", U(2E2D) }, /* five dot mark */
  {"\16\21\10\04\04\00\04\00\00", U(2E2E) }, /* reversed question */
+ {"\16\21\20\10\04\00\04\00\00", -1, "uni2E2E.open" },
  {"\00\00\00\00\00\02\04\04\00", U(2E32) }, /* turned comma */
  {"\00\02\04\04\00\00\04\00\00", U(2E35) }, /* turned semicolon */
  {"\04\04\34\04\04\04\04\04\04", U(2E36) }, /* dagger w/left guard */
@@ -2732,7 +2734,8 @@ static struct alt_sub_override {
 #define CV14 VAR2("period", ".large")
 #define CV26 VAR2("colon", ".leftsmall")
 #define CV27 VAR2("semicolon", ".left")
-#define CV31 VAR2("question", ".open")
+#define CV31 VAR2("question", ".open") VAR2("questiondown", ".open") \
+       VAR2("uni2E2E", ".open")
 #define CV42 VAR2("J", ".narrow")
 #define CV44 VAR2("L", ".narrow")
 #define CV61 VAR2("ugrave",".roundjoined")