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

Character merging may increase the character width #406

Merged
merged 4 commits into from
Dec 23, 2021

Conversation

aycabta
Copy link
Member

@aycabta aycabta commented Dec 23, 2021

When a halfwidth character is followed by a halfwidth dakuten or a halfwidth handakuten character, it should be treated as a single grapheme. So, even if the number of graphemes doesn't change owing to character merging, the character width may increase.

This fixes #405.

When a halfwidth character is followed by a halfwidth dakuten or a
halfwidth handakuten character, it should be treated as a single
grapheme.
Even if the number of graphemes doesn't change owing to character
merging, the character width may increase.
@aycabta aycabta merged commit a5d8a6c into ruby:master Dec 23, 2021
@aycabta aycabta deleted the support-halfwidth-kana-correctly branch December 23, 2021 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect handling of character width for half-width katakana
1 participant