From: Ben Harris Date: Tue, 14 Jan 2025 10:05:57 +0000 (+0000) Subject: Add some extra variant question-mark glyphs X-Git-Tag: bedstead-3.251~36 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=c36cea4b1e06e0a623dd84968ba68fbef436745a;p=bedstead.git Add some extra variant question-mark glyphs 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. --- diff --git a/bedstead.c b/bedstead.c index 37a3120..fdf0252 100644 --- a/bedstead.c +++ b/bedstead.c @@ -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")