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 line breaking rules for Japanese text #1498

Merged
merged 1 commit into from
Apr 16, 2022
Merged

Add line breaking rules for Japanese text #1498

merged 1 commit into from
Apr 16, 2022

Conversation

bigfarts
Copy link
Contributor

@bigfarts bigfarts commented Apr 15, 2022

This allows line breaks after any kana, unless they are immediately followed by a gyōtō kinsoku character, in which case the line may not break at that point.

Also pedantically renamed is_chinese to is_cjk_ideograph as is_chinese will also cause line breaks on Japanese kanji.

Fixes #1497.

This allows line breaks after any kana, unless they are immediately followed by a gyōtō kinsoku character, in which case the line may not break at that point.

Also pedantically renamed is_chinese to is_cjk_ideograph as is_chinese will also cause line breaks on Japanese kanji.
@emilk emilk merged commit 2ca72e0 into emilk:master Apr 16, 2022
@emilk
Copy link
Owner

emilk commented Apr 16, 2022

Thanks!

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.

Japanese word wrapping is weird
2 participants