question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Yield emoji icons are coloured when embedded in coloured text

See original GitHub issue

Platform Linux, 64-bit

Version 34e5033293d5d5fcbf6e0829607a0eb66fc37b2c

Describe the bug Culture & Faith icons in city-state screens (and probably yield icons in other places) are coloured as well when text is coloured, leading to weird looking icons. E.g., the green culture icon in the image below.

image

In the accompanied save file, after selecting either Lhasa or Jerusalem, this bug can be seen.

Saved game
H4sIAAAAAAAAAO2dW3PbOLbvv4rOvOzeVWS2LqRub07S6c6epONpJzvnVJcfKBG2eSKJHpJKx53yd98AL8ACuEAAlOzYbs9UpWmKBBZxI/D7Lyx+Xydfk03yV1Qk6S5f/vGd/v1btCXLl1G2irIk2uVeQdZXy+/s3/x3kpMoW1+RePnHyWWWrPebYp+R81vvOt0k64Tky++3Hk3jFU2tyPbrKll67t97khfvo110STL2d0Y2ySX9EZy6TDcx2Z1cskTyIs1I/Gt0fZ3sSJ4vxwH9PSNRcUrS6w1hl39N1vSiG5jmPtnl4O84ud6k22h9s/z+7irKo+X3tLgi2av6Ectz3sUmusxfpftdEad/7pbfX5P1huYZn5JoTZajocdORNSYz1FG/+SpFsn6fRonFwnJqL30x/fpjuZLc/ZDeM+H3ad86Y+Ht7eskK731ycbkhWsqIuba7J8k2R5QUuriNaF9zXa7Gu7br3qd5pClVhZQ9IV5x75Rk2h2XxMNoSl+G058W6WY3rvt2VAj/xJeeiz4+qQ/e5XF/ji2vo6+rA3y1l1pjz2qz/m9HBanWaHfnU8o4dhdZYd+iHPtkptSo+C6nd26AfClsYuYI24p75wIWxZCFOmSqbQrOqKUMm2vjoUKc/448x5HuXjzuGjz3lqjeUg5YW4YsFvLO9bwDQW4JFFrVRHY3o0qn5nh359POLJgbMjkZ0P7mPGNH9MQbFOeR2AnP0ma55qIHKsExeZiyTm/KnLZwrh84Wg9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qd1QMF7bWXdICB37xAPo/BLjm7Zl+j+Nc+WX/xrjfRTfnFxe/V0Uc2FPy635aeWezDjPvtimQfLl413wYpP5Zxmcbv05hUCl/zqdyfd9FqQxMuT9Zfv2XJ0cSrrwVHG+91uqUjI7PYOytFlYQa6L3m38Y897bRNwa28uUsZNOy8nDcjJenpY3VLtH6FKdgHxM6utaf2FhMguksKB/2bbyckWkYL8ZjnwSjiR+MxlN/Hg/nfjQMxwtyEZP15OL2fwHPE8X2f4kBAA==

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
xlenstracommented, Jan 1, 2022

Does feel messy for such a small effect, though. Also breaks down if you also want text wrapping (or do anything else to change the Label)…

Or translation of the entire string for that matter…

Looking at CML for syntax highlighting at an earlier point, I got the feeling it would also be a fairly drastic change that might affect everything from CivilopediaText to the bitmap fonts. Didn’t look too much into it, though… Also the syntax seems like it would conflict with translation placeholders.

That could be solved by only colouring translated strings where the translation placeholders have already been removed, which is what we do most often anyway I believe (except for printing errors in uniques…). And if the colouring we currently do still works, we could enclose each font symbols inside a [#ffffff]symbol[] block and have it work as normal (?).

If that doesn’t work or we go with ‘remove font symbols when a colour is applied’, that shouldn’t be very difficult, only add an extra check for this and do the removal in the String.toLabel() function

0reactions
xlenstracommented, Jan 5, 2022

Could also stick a [#${color.toString()}] before the label base texts, which seems like it would be almost as good as current setColor() if it works? …So instead of Label("Some [#ffffff]symbol[] stat.").apply { color = abcdef }, it might be something like Label("[#abcdef]Some [#ffffff]symbol[] stat.").

Turns out this works as one would expect, so I’ve opened a PR with this implementation

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using color fonts for beautiful text and icons - Windows Blog
Color fonts were originally designed to enable multicolored emoji in text communication scenarios. They excel at that task, but they are useful ...
Read more >
UTS #51: Unicode Emoji
Emoji are pictographs (pictorial symbols) that are typically presented in a colorful cartoon form and used inline in text. They represent things such...
Read more >
Configuring and displaying symbol images in your UI
Symbol images give you a consistent set of icons to use in your app, and ensure that those icons adapt to different sizes...
Read more >
Emoji Compatibility - Android Developers
The EmojiCompat support library aims to keep Android devices up to date with the latest emoji. It prevents your app from showing missing...
Read more >
Brighten up your Automatic Replies (OOF) for ... - MSOutlook.info
Internal vs External OOF · Character Map · Color and increase your icon font · Colorful Emoji · Extra tip: MS Outlook font...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found