Skip to content

Allow setting retain_ignorables in SimpleShapeOptions #87

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

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

Conversation

valadaptive
Copy link
Contributor

This is necessary for Parley to display tab characters. Since swash incorrectly thinks the tab character is ignorable (linebender/parley#302) and there's no way to regenerate the Unicode tables (#37), this at least lets us work around the issue.

@xorgy
Copy link
Collaborator

xorgy commented Mar 29, 2025

I could be convinced that this is not a breaking change, on account of partition having been #[doc(hidden)]... but I feel that since this API is being used externally we should remove the #[doc(hidden)] at least.
But I'm not sure.

@xorgy
Copy link
Collaborator

xorgy commented Mar 29, 2025

@waywardmonkeys has shown me that we manually construct SimpleShapeOptions in Parley without a ..Default::default, so this is definitely a breaking change.

We should also remove the #[doc(hidden)] for partition since this API is in active external use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants