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

Investigate using unicode-width #9

Open
Xion opened this issue Jul 6, 2017 · 0 comments
Open

Investigate using unicode-width #9

Xion opened this issue Jul 6, 2017 · 0 comments

Comments

@Xion
Copy link
Owner

Xion commented Jul 6, 2017

The unicode-width crate determines the character width of Unicode strings, and should most likely be used for the line breaking algo. It's unclear if it can completely help with the clipping/overflowing issue we see sometimes, but it should at least allow to detect the invisible/zero-width characters more robustly.

https://crates.io/crates/unicode-width

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

No branches or pull requests

1 participant