Skip to content

Commit

Permalink
Add drawing code for 艒 (#11201)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gymnasiast committed Apr 1, 2020
1 parent 598b85d commit e1e8e2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/openrct2/drawing/Font.cpp
Expand Up @@ -59,6 +59,7 @@ static const std::unordered_map<char32_t, int32_t> codepointOffsetMap = {
{ UnicodeChar::n_acute, CSChar::n_acute - CS_SPRITE_FONT_OFFSET },
{ UnicodeChar::n_caron_uc, SPR_G2_N_CARON_UPPER - SPR_CHAR_START },
{ UnicodeChar::n_caron, SPR_G2_N_CARON_LOWER - SPR_CHAR_START },
{ UnicodeChar::o_macron, CSChar::o_circumflex - CS_SPRITE_FONT_OFFSET }, // No visual difference
{ UnicodeChar::o_double_acute_uc, SPR_G2_O_DOUBLE_ACUTE_UPPER - SPR_CHAR_START },
{ UnicodeChar::o_double_acute, SPR_G2_O_DOUBLE_ACUTE_LOWER - SPR_CHAR_START },
{ UnicodeChar::r_caron_uc, SPR_G2_R_CARON_UPPER - SPR_CHAR_START },
Expand Down
2 changes: 2 additions & 0 deletions src/openrct2/localisation/FormatCodes.h
Expand Up @@ -134,6 +134,7 @@ namespace CSChar
constexpr char32_t c_acute = 0xDE;
constexpr char32_t e_ogonek = 0xE6;
constexpr char32_t n_acute = 0xF0;
constexpr char32_t o_circumflex = 0xF4;
constexpr char32_t l_stroke = 0xF7;
constexpr char32_t s_acute = 0xF8;
constexpr char32_t z_acute = 0xFE;
Expand Down Expand Up @@ -174,6 +175,7 @@ namespace UnicodeChar
constexpr char32_t n_acute = 0x144;
constexpr char32_t n_caron_uc = 0x147;
constexpr char32_t n_caron = 0x148;
constexpr char32_t o_macron = 0x14D;
constexpr char32_t o_double_acute_uc = 0x150;
constexpr char32_t o_double_acute = 0x151;
constexpr char32_t r_caron_uc = 0x158;
Expand Down

0 comments on commit e1e8e2b

Please sign in to comment.