Fix #15891: Add lower case hard sign

This commit is contained in:
Gymnasiast committed 2026-08-29 14:52:32 +02:00
1 parent 57de7b82be
commit 52a684a0da
7 files changed
+19 -1

No files matched your search

+1
View File
@@ -12,6 +12,7 @@
- Improved: [#26931] The save prompt now bounces the macOS dock icon, flashes the Windows taskbar button and marks Linux windows urgent when it blocks quitting an unfocused game.
- Improved: [#26936] Rain is now drawn next to the top toolbar, but only when it is centred.
- Improved: [#26996] Ride names in scenarios can now be autopatched.
- Fix: [#15891] Lower case hard sign is drawn as upper case.
- Fix: [#18197] Track Designs Manager does not autoload scenery.
- Fix: [#18415] Preview in the Track Designs Manager is not updated after deleting the first design.
- Fix: [#21632] [Plugin] Crash when loading custom image larger than 300 by 300 pixels.
Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 B

+16
View File
@@ -1396,6 +1396,11 @@
"palette": "keep",
"format": "raw"
},
{
"path": "cyrillic/U+044A-small.png",
"palette": "keep",
"format": "raw"
},
{
"path": "cyrillic/U+044B-small.png",
"palette": "keep",
@@ -3202,6 +3207,11 @@
"palette": "keep",
"format": "raw"
},
{
"path": "cyrillic/U+044A-bold.png",
"palette": "keep",
"format": "raw"
},
{
"path": "cyrillic/U+044B-bold.png",
"palette": "keep",
@@ -5008,6 +5018,12 @@
"palette": "keep",
"format": "raw"
},
{
"path": "cyrillic/U+044A-tiny.png",
"y": 1,
"palette": "keep",
"format": "raw"
},
{
"path": "cyrillic/U+044B-tiny.png",
"y": 1,
+1
View File
@@ -1483,6 +1483,7 @@ enum : ImageIndex
SPR_FONTS_CYRILLIC_CHE_LOWER,
SPR_FONTS_CYRILLIC_SHA_LOWER,
SPR_FONTS_CYRILLIC_SHCHA_LOWER,
SPR_FONTS_CYRILLIC_HARD_SIGN_LOWER,
SPR_FONTS_CYRILLIC_YERU_LOWER,
SPR_FONTS_CYRILLIC_SOFT_SIGN_LOWER,
SPR_FONTS_CYRILLIC_E_LOWER,
+1 -1
View File
@@ -186,7 +186,7 @@ static const std::unordered_map<char32_t, int32_t> codepointOffsetMap = {
{ UnicodeChar::cyrillic_che, SPR_FONTS_CYRILLIC_CHE_LOWER - SPR_FONTS_BEGIN },
{ UnicodeChar::cyrillic_sha, SPR_FONTS_CYRILLIC_SHA_LOWER - SPR_FONTS_BEGIN },
{ UnicodeChar::cyrillic_shcha, SPR_FONTS_CYRILLIC_SHCHA_LOWER - SPR_FONTS_BEGIN },
{ UnicodeChar::cyrillic_hard_sign, SPR_FONTS_CYRILLIC_HARD_SIGN_UPPER - SPR_FONTS_BEGIN },
{ UnicodeChar::cyrillic_hard_sign, SPR_FONTS_CYRILLIC_HARD_SIGN_LOWER - SPR_FONTS_BEGIN },
{ UnicodeChar::cyrillic_yeru, SPR_FONTS_CYRILLIC_YERU_LOWER - SPR_FONTS_BEGIN },
{ UnicodeChar::cyrillic_soft_sign, SPR_FONTS_CYRILLIC_SOFT_SIGN_LOWER - SPR_FONTS_BEGIN },
{ UnicodeChar::cyrillic_e, SPR_FONTS_CYRILLIC_E_LOWER - SPR_FONTS_BEGIN },