benilla-re systems structs docs

s_latinVowelArmIndex

global · ui

Address
0x771bfc · 53 bytes, up to 0x771c30
Type
const uint8_t[53]
Meaning
Maps a character from A to U to an arm of the vowel test, 0 for each ASCII vowel
Confidence
verified, proof one
Finding
ui/fonttext#french-escape-and-digit-groups

Finding: French escape and digit groups in ui: font string internals

|2 followed by a non-digit and optional spaces turns the word that follows into its "of the" form. La, Le and L' become de la , du and l'; any other word gets d' when it starts with a vowel (ASCII or the Latin-1 letters 0xc0-0xc6, 0xc8-0xcf, 0xd2-0xd6, 0xd8-0xdc and their lower-case forms), with h or H, or with y or Y before a vowel, else de . When 0xcf4d24 is set, a run of digits, . and , from a digit swaps them if it has one ., no , after it, the next byte at least 0 and the one after at most 9 (signed): 1,234.56 gives 1.234,56, 1.5 1,5, 1.55g 1,55g, 1.555 1,555; 1.5g, 1,234,567 stay.

The derivation is in the doc.