diff --git a/distribution/changelog.txt b/distribution/changelog.txt index e46ebe3ee4..455da777d4 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -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. diff --git a/resources/fonts/cyrillic/U+044A-bold.png b/resources/fonts/cyrillic/U+044A-bold.png new file mode 100644 index 0000000000..922d1f3425 Binary files /dev/null and b/resources/fonts/cyrillic/U+044A-bold.png differ diff --git a/resources/fonts/cyrillic/U+044A-small.png b/resources/fonts/cyrillic/U+044A-small.png new file mode 100644 index 0000000000..5b1b68db25 Binary files /dev/null and b/resources/fonts/cyrillic/U+044A-small.png differ diff --git a/resources/fonts/cyrillic/U+044A-tiny.png b/resources/fonts/cyrillic/U+044A-tiny.png new file mode 100644 index 0000000000..b6800cba31 Binary files /dev/null and b/resources/fonts/cyrillic/U+044A-tiny.png differ diff --git a/resources/fonts/sprites.json b/resources/fonts/sprites.json index 98766ad022..64bf24c10d 100644 --- a/resources/fonts/sprites.json +++ b/resources/fonts/sprites.json @@ -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, diff --git a/src/openrct2/SpriteIds.h b/src/openrct2/SpriteIds.h index 33caeddcef..258d71a0d2 100644 --- a/src/openrct2/SpriteIds.h +++ b/src/openrct2/SpriteIds.h @@ -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, diff --git a/src/openrct2/drawing/Font.cpp b/src/openrct2/drawing/Font.cpp index ed71617695..25ab4416e2 100644 --- a/src/openrct2/drawing/Font.cpp +++ b/src/openrct2/drawing/Font.cpp @@ -186,7 +186,7 @@ static const std::unordered_map 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 },