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

Emoji handling in TrimMode.Line causes excess lines beyond specified trimLines #63

Closed
maRci002 opened this issue Apr 13, 2024 · 0 comments · Fixed by #64
Closed

Emoji handling in TrimMode.Line causes excess lines beyond specified trimLines #63

maRci002 opened this issue Apr 13, 2024 · 0 comments · Fixed by #64

Comments

@maRci002
Copy link
Collaborator

The implementation of PR #62, aimed at improving emoji handling in TrimMode.Length, inadvertently introduces a regression in TrimMode.Line. When using TrimMode.Line with a specific trimLines value, texts containing emojis now exceed the set line limit, displaying more lines than intended.

Current behaviour trimLines: 3:

Expected behaviour trimLines: 3:

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 a pull request may close this issue.

1 participant