Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pepper Emoji render bug? #548

Closed
2 tasks done
sunkhaskasis opened this issue Feb 19, 2023 · 2 comments · Fixed by #547
Closed
2 tasks done

Pepper Emoji render bug? #548

sunkhaskasis opened this issue Feb 19, 2023 · 2 comments · Fixed by #547
Labels
bug Something isn't working

Comments

@sunkhaskasis
Copy link
Contributor

Checklist

Edition

Windows GUI Application

Describe your issue here

It appears that the pepper emoji (🌶) is rendered incorrectly.

Twitch:
image

Twitch Downloader:
image

JSON:
https://www.dropbox.com/s/ogfkf02o4rxjsvq/%5B2-18-23%5D%20forsen%20-%20Games%20and%20shit%21%20-%20Chat.json?dl=1

@sunkhaskasis sunkhaskasis added the bug Something isn't working label Feb 19, 2023
@ScrubN
Copy link
Collaborator

ScrubN commented Feb 19, 2023

This seems to be an issue regarding specific high surrogate emojis, but doing something quick and dirty like this also breaks other emojis.
image
🅰🅱🅾🅿have the same issue as the hot pepper, which you can see are fixed (left) with the quick and dirty patch, but then all the flags that start with "A" become the 🇦🇨 flag
image

@ScrubN
Copy link
Collaborator

ScrubN commented Feb 19, 2023

So I've realized that if we do a second pass when no emoji was found, the quick and dirty solution works and also doesn't break other emojis like flags.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants