Replies: 1 comment 1 reply
-
|
Confirmed on Windows: Microsoft doesn't render Regional Indicator Symbol pairs as flags (they show as letter-boxes — "US", "DE", etc.). The stated reason is political. Unchanged on Windows 11 24H2. Since that effectively rules out emoji as a cross-platform solution (we'd either ship Twemoji on Windows or branch the renderer per-platform — both of which complicate rather than simplify), one alternative that captures your two stated benefits without the Windows regression: SVG-based flag icons via
This is the modernisation path I'd lean toward over emoji — same code-side simplification, smaller bundle, sharper on HiDPI, no Windows asterisk. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I was trying to add the country flags to the server window, and for that specific part of the code, I realized it will be much easier to add them as Unicode emojis rather than displaying the bitmaps icons, as in done for clients.
A quick and dirty test can be found here, so far flags are only displayed when connecting / pinging the server: https://github.com/danim7/amule/tree/flags-as-emojis
The possible benefits of using emojis rather than bundling our own icons are:
But there may be a big drawback:
So just asking for opinions before spending more time in this direction
Beta Was this translation helpful? Give feedback.
All reactions