From: Ben Harris Date: Sun, 2 Jun 2024 13:07:08 +0000 (+0100) Subject: Alias mappings for 'rtlm' X-Git-Tag: bedstead-002.007~48 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=aa596a604be810cbcccc991e28079ae381d07e61;p=bedstead.git Alias mappings for 'rtlm' These are characters that have the Bidi_Mirroring_Glyph but don't appear in the OpenType Mirroring Pairs List (OMPL). In a couple of cases, these are listed by Unicode as "best fit" and I think I should actually redraw the tildes the other way around. --- diff --git a/bedstead.c b/bedstead.c index e301987..1fd0b1a 100644 --- a/bedstead.c +++ b/bedstead.c @@ -1403,9 +1403,11 @@ static struct glyph { {{000,037,000,002,025,010,000,000,000}, -1, "uni2242.rtlm" }, {{000,010,025,002,000,037,000,000,000}, U(2243) }, /* asymptotically equal */ {{010,025,002,000,037,000,037,000,000}, 0x2245, "congruent" }, + ALIAS("congruent.rtlm", "uni224C"), {{000,010,025,002,010,025,002,000,000}, 0x2248, "approxequal" }, {{000,002,025,010,002,025,010,000,000}, -1, "approxequal.rtlm" }, {{002,025,010,000,037,000,037,000,000}, U(224C) }, /* all equal to */ + ALIAS("uni224C.rtlm", "congruent"), {{000,021,016,000,016,021,000,000,000}, U(224D) }, /* equivalent to */ {{000,004,033,000,033,004,000,000,000}, U(224E) }, /* geom equiv to */ {{000,004,033,000,037,000,000,000,000}, U(224F) }, /* difference between */ @@ -1454,6 +1456,7 @@ static struct glyph { {{000,024,024,027,024,024,000,000,000}, U(22A9) }, /* forces */ {{000,024,027,024,027,024,000,000,000}, U(22AB) }, /* dbl v dbl rt tstile */ {{000,000,002,035,002,000,000,000,000}, U(22B8) }, /* multimap */ + ALIAS("uni22B8.rtlm", "uni27DC"), {{000,021,012,004,000,037,000,000,000}, U(22BB) }, /* xor */ {{000,037,000,004,012,021,000,000,000}, U(22BC) }, /* nand */ {{000,037,000,021,012,004,000,000,000}, U(22BD) }, /* nor */ @@ -1847,6 +1850,7 @@ static struct glyph { {{004,004,004,004,004,004,004,004,037}, U(27D8) }, /* large up tack */ {{037,004,004,004,004,004,004,004,004}, U(27D9) }, /* large down tack */ {{000,000,010,027,010,000,000,000,000}, U(27DC) }, /* left multimap */ + ALIAS("uni27DC.rtlm", "uni22B8"), {{002,002,004,010,004,002,002,000,000}, U(27E8) }, /* left angle bracket */ {{010,010,004,002,004,010,010,000,000}, U(27E9) }, /* right angle bracket */ {{002,004,004,004,004,004,002,000,000}, U(27EE) }, /* flattened parenleft */ @@ -1949,7 +1953,9 @@ static struct glyph { {{017,020,017,000,037,000,037,000,000}, U(2AC5) }, /* subset equals */ {{036,001,036,000,037,000,037,000,000}, U(2AC6) }, /* superset equals */ {{017,020,017,000,010,025,002,000,000}, U(2AC7) }, /* subset tilde */ + ALIAS("uni2AC7.rtlm", "uni2AC8"), {{036,001,036,000,010,025,002,000,000}, U(2AC8) }, /* superset tilde */ + ALIAS("uni2AC8.rtlm", "uni2AC7"), {{000,017,021,021,021,017,000,000,000}, U(2ACF) }, /* closed subset */ {{000,036,021,021,021,036,000,000,000}, U(2AD0) }, /* closed superset */ {{017,021,021,021,017,000,037,000,000}, U(2AD1) }, /* closed subset or eq */ @@ -2024,13 +2030,21 @@ static struct glyph { {{000,000,000,000,000,022,022,011,000}, U(2E42) }, /* dbl low rev9 quote */ {{004,004,037,004,037,004,037,004,004}, U(2E4B) }, /* triple dagger */ {{017,010,010,034,010,010,017,000,000}, U(2E55) }, /* bracketleft stroke */ + ALIAS("uni2E55.rtlm", "uni2E56"), {{036,002,002,007,002,002,036,000,000}, U(2E56) }, /* bracketright stroke */ + ALIAS("uni2E56.rtlm", "uni2E55"), {{017,010,034,010,034,010,017,000,000}, U(2E57) }, /* bracketleft dbl strk */ + ALIAS("uni2E57.rtlm", "uni2E58"), {{036,002,007,002,007,002,036,000,000}, U(2E58) }, /* bracketright dbl strk */ + ALIAS("uni2E58.rtlm", "uni2E57"), {{002,004,010,010,000,000,000,000,000}, U(2E59) }, /* top half parenleft */ + ALIAS("uni2E59.rtlm", "uni2E5A"), {{010,004,002,002,000,000,000,000,000}, U(2E5A) }, /* top half parenright */ + ALIAS("uni2E5A.rtlm", "uni2E59"), {{000,000,000,010,010,004,002,000,000}, U(2E5B) }, /* bot half parenleft */ + ALIAS("uni2E5B.rtlm", "uni2E5C"), {{000,000,000,002,002,004,010,000,000}, U(2E5C) }, /* bot half parenright */ + ALIAS("uni2E5C.rtlm", "uni2E5B"), {{000,000,002,004,010,000,000,000,000}, U(2E5D) }, /* oblique hyphen */ /* Latin extended-D */