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

Introduce font-shaping-break config option #5374

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dpatterbee
Copy link
Contributor

Adds the config option as described in #4515.

Plumbed it into the RunIterator and updated all the tests that rely on that, adding additional cases to the cursor boundary tests where I found them.

Closes #4515

@dpatterbee dpatterbee marked this pull request as ready for review January 26, 2025 02:31
@jcollie jcollie added the font Issue within the font stack (typically src/font) label Feb 23, 2025
/// Where to break font shaping runs.
///
/// Currently only one option, "cursor", which is enabled by default and breaks
/// text runs under the cursor.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know about you, but I personally would have no idea what “text runs” are. Perhaps an example (e.g. #4469) would be warranted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
font Issue within the font stack (typically src/font)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce configuration option font-shaping-break
3 participants