diff --git a/src/openrct2/drawing/Font.cpp b/src/openrct2/drawing/Font.cpp index d745b7985a..1cc2d7bab7 100644 --- a/src/openrct2/drawing/Font.cpp +++ b/src/openrct2/drawing/Font.cpp @@ -112,6 +112,12 @@ sint32 font_sprite_get_codepoint_offset(sint32 codepoint) case UNICODE_Z_DOT: return RCT2_Z_DOT - 32; case UNICODE_Z_ACUTE: return RCT2_Z_ACUTE - 32; + // Render capital sharp-S (ẞ) with lowercase sprite (ß) + case UNICODE_CAPITAL_SHARP_S: return 223 - 32; + + case UNICODE_DINGBATS_PLUS: return 11; + case UNICODE_DINGBATS_MINUS: return 13; + default: if (codepoint < 32 || codepoint >= 256) codepoint = '?'; return codepoint - 32; diff --git a/src/openrct2/localisation/FormatCodes.cpp b/src/openrct2/localisation/FormatCodes.cpp index 217dc80ddb..1f2b314c26 100644 --- a/src/openrct2/localisation/FormatCodes.cpp +++ b/src/openrct2/localisation/FormatCodes.cpp @@ -137,6 +137,8 @@ bool utf8_should_use_sprite_for_codepoint(sint32 codepoint) case FORMAT_LEFT: case FORMAT_OPENQUOTES: case FORMAT_ENDQUOTES: + case UNICODE_DINGBATS_PLUS: + case UNICODE_DINGBATS_MINUS: return true; default: return false; diff --git a/src/openrct2/localisation/FormatCodes.h b/src/openrct2/localisation/FormatCodes.h index 4789c86dda..1feb76f29c 100644 --- a/src/openrct2/localisation/FormatCodes.h +++ b/src/openrct2/localisation/FormatCodes.h @@ -181,4 +181,15 @@ enum UnicodePolish UNICODE_Z_ACUTE = 378, }; +enum UnicodeGerman +{ + UNICODE_CAPITAL_SHARP_S = 0x1E9E, +}; + +enum UnicodeDingbats +{ + UNICODE_DINGBATS_PLUS = 0x2795, + UNICODE_DINGBATS_MINUS = 0x2796, +}; + #endif