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

Feature: improved emoji support #13

Merged
merged 3 commits into from Apr 7, 2021
Merged

Feature: improved emoji support #13

merged 3 commits into from Apr 7, 2021

Conversation

flo80
Copy link
Contributor

@flo80 flo80 commented Apr 7, 2021

The current rendering based on runes has issues when rendering complex emojis (composed out of multiple unicode chars, e.g. πŸ‘¨πŸ»β€πŸ’» breaks down to several runes πŸ‘¨ 🏻 πŸ’», see emojipedia )

When using grapheme clusters (provided by characters package) this can be solved since they split text in visible / user-perceived characters.

Note: 8cf0f1d is based on the previous version of arc_text (pre null-safety) for a potential back-port

@ookami-kb
Copy link
Owner

Thank you for the PR, LGTM πŸ‘

@ookami-kb ookami-kb merged commit 2c072f8 into ookami-kb:master Apr 7, 2021
@flo80 flo80 deleted the feature/emoji-support branch April 8, 2021 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants