Skip to content

Break state: step buffered break positions by the codepoint's increment - #83

Open
pdoane wants to merge 1 commit into
JimmyLefevre:mainfrom
pdoane:break-positions
Open

pdoane wants to merge 1 commit into
JimmyLefevre:mainfrom
pdoane:break-positions

Conversation

@pdoane

@pdoane pdoane commented Sep 3, 2026

Copy link
Copy Markdown

The buffered line and word break positions lag the current codepoint by one or two entries, but they were stepped by the current codepoint's increment. Increments are not uniform, so break flags landed on the wrong positions. Each buffered position now steps by the increment of the codepoint it lags by.

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.

1 participant