From a0840b2a711c8a97db3a6464ec9a2f8cc3dc854f Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Sat, 29 Aug 2026 15:10:44 +0200 Subject: [PATCH] Close #19000: Add sprite font glyph for the Won --- data/language/en-GB.txt | 2 +- distribution/changelog.txt | 1 + .../fonts/currency/U+20A9-won-sign-bold.png | Bin 0 -> 154 bytes .../fonts/currency/U+20A9-won-sign-small.png | Bin 0 -> 144 bytes .../fonts/currency/U+20A9-won-sign-tiny.png | Bin 0 -> 137 bytes resources/fonts/sprites.json | 15 +++++++++++++++ src/openrct2/SpriteIds.h | 2 ++ src/openrct2/core/UnicodeChar.h | 1 + src/openrct2/drawing/Font.cpp | 1 + 9 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 resources/fonts/currency/U+20A9-won-sign-bold.png create mode 100644 resources/fonts/currency/U+20A9-won-sign-small.png create mode 100644 resources/fonts/currency/U+20A9-won-sign-tiny.png diff --git a/data/language/en-GB.txt b/data/language/en-GB.txt index ac0fb12661..fad21fc48a 100644 --- a/data/language/en-GB.txt +++ b/data/language/en-GB.txt @@ -2676,7 +2676,7 @@ STR_5573 :Remove From Favourites STR_5574 :Server Name: STR_5575 :Max Players: STR_5576 :Port: -STR_5577 :South Korean Won (W) +STR_5577 :South Korean Won (₩) STR_5578 :Russian Rouble (₽) STR_5579 :Window scale factor: STR_5580 :Czech koruna (Kč) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 455da777d4..c07359d63a 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -3,6 +3,7 @@ - Feature: [#26423] [Plugin] Add `PathNavigator` and `PathConnection` for exploring the footpath network as a graph. - Feature: [#26827] [Plugin] Add map resize hook to scripting api. - Feature: [#26877] Clear Scenery can remove footpath additions or walls separately. +- Improved: [#19000] Add sprite font glyph for the Won (₩). - Improved: [#23872] Loading a park outside the game now sets the folder of the load/save window, as loading one in-game does. - Improved: [#25362] When dragging footpaths, they will now properly adapt to uneven terrain. - Improved: [#26099] The ride type selection cheat has been moved into the ride operations tab. diff --git a/resources/fonts/currency/U+20A9-won-sign-bold.png b/resources/fonts/currency/U+20A9-won-sign-bold.png new file mode 100644 index 0000000000000000000000000000000000000000..2da141217ab2d848d6d2a855faa6996d5d9ac64d GIT binary patch literal 154 zcmeAS@N?(olHy`uVBq!ia0vp@3=9lhOw0@n3_=Yy;S3B6JOMr-uK)l4?_l`lB^|5(w}KasB`Qe+R?={|p_* z#{XNQ_}my67&r?&B8wRq_>O=u<5X=vX$A%cEl(H65RU7~0SONhW*lB{&Vae&YU7%f t3m@{#TAd|fv0T)^AXJVax$Q6y!~EBrZqioXIt&a944$rjF6*2UngFg4Dh>bu literal 0 HcmV?d00001 diff --git a/resources/fonts/currency/U+20A9-won-sign-tiny.png b/resources/fonts/currency/U+20A9-won-sign-tiny.png new file mode 100644 index 0000000000000000000000000000000000000000..4afaa5ad9060f372de28feb8091089b142c196c2 GIT binary patch literal 137 zcmeAS@N?(olHy`uVBq!ia0y~yVBln6U|?rrW?*1g{ codepointOffsetMap = { // Currency { UnicodeChar::guilder, SPR_FONTS_GUILDER_SIGN - SPR_FONTS_BEGIN }, { UnicodeChar::euro, CSChar::euro - kCSSpriteFontOffset }, + { UnicodeChar::won, SPR_FONTS_WON_SIGN - SPR_FONTS_BEGIN }, { UnicodeChar::rouble, SPR_FONTS_ROUBLE_SIGN - SPR_FONTS_BEGIN }, // Dingbats