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

Some Default_Ignorable_Code_Points are not given zero width #32

Open
Jules-Bertholet opened this issue Feb 12, 2024 · 0 comments
Open

Comments

@Jules-Bertholet
Copy link

From https://www.unicode.org/faq/unsup_char.html#3:

All default-ignorable characters should be rendered as completely invisible (and non advancing, i.e. “zero width”), if not explicitly supported in rendering.

However, this library does not assign a zero width to all such characters; notably U+3164 HANGUL FILLER and U+FFA0 HALFWIDTH HANGUL FILLER are incorrectly assigned nonzero width. (There is one exception where this library is correct in assigning a nonzero width to a Default_Ignorable_Code_Point: U+115F HANGUL CHOSEONG FILLER has no display on its own, but it combines with medial and trailing Hangul jamo (which are assigned width 0) to form a width-2 Hangul syllable block, and therefore width 2 is correct for it.)

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