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

Add grapheme wrapping to textbox #5479

Merged
merged 2 commits into from
Jan 13, 2019
Merged

Add grapheme wrapping to textbox #5479

merged 2 commits into from
Jan 13, 2019

Conversation

asturur
Copy link
Member

@asturur asturur commented Jan 13, 2019

Addition: textbox splitByGrapheme property! allows you to split text for grapheme clusters rather than spaces.

Also add ZWNJ and ZWS to normal splitting.

close #5402

@asturur asturur changed the title Test 0 width space chinese Add grapheme wrapping to textbox Jan 13, 2019
@asturur asturur merged commit 9c35ed2 into master Jan 13, 2019
@asturur asturur mentioned this pull request Jan 13, 2019
@asturur asturur deleted the test-0-width-space-chinese branch May 19, 2019 19:30
thiagocunha pushed a commit to thiagocunha/fabric.js that referenced this pull request Nov 18, 2019
* add grapheme wrapping

* added to Object
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.

Textbox support for line breaks in Chinese is problematic,Textbox 对于中文换行的支持有问题
1 participant