mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 12:32:34 +00:00
Greek Sigma character fallback
The lowercase Sigma letter in Greek has two different forms (σ and ς), which changes depending on its placement in a word, but in uppercase and smallcaps contexts, it only has one look regardless of word positioning. If the character ς is missing, it should fall back to σ.
This commit is contained in:
parent
ca889ea3c8
commit
a9ff31fe2e
1 changed files with 3 additions and 0 deletions
|
@ -869,6 +869,9 @@ int stripaccent(int code)
|
||||||
case 0x201e:
|
case 0x201e:
|
||||||
return '"'; // typographic quotation marks
|
return '"'; // typographic quotation marks
|
||||||
|
|
||||||
|
case 0x3c2:
|
||||||
|
return 0x3c3; // Lowercase Sigma character in Greek, which changes depending on its positioning in a word; if the font is uppercase only or features a smallcaps style, the second variant of the letter will remain unused
|
||||||
|
|
||||||
// Cyrillic characters with equivalents in the Latin alphabet.
|
// Cyrillic characters with equivalents in the Latin alphabet.
|
||||||
case 0x400:
|
case 0x400:
|
||||||
return 0xc8;
|
return 0xc8;
|
||||||
|
|
Loading…
Reference in a new issue