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

Activation conditions and child entry indices #95

Merged
merged 15 commits into from
Feb 6, 2025

Conversation

garretrieger
Copy link
Contributor

This PR adds support for configuring the encoder with generic activation conditions for glyph keyed patches. Conditions can be of the form if (p1 or ... or ...) and (...) and ... then load pn. The previously available functionality for optional features has been reworked to use the new general framework.

Additionally serialization support has been added for writing a patch map using activation conditions via the child entry indices mechanism (see: w3c/IFT#252).

Lastly, this PR also updates the glyph segmentation util to make use of the new condition functionality in the test encodings it produces.

@garretrieger garretrieger merged commit 3b75bf3 into w3c:main Feb 6, 2025
3 checks passed
@garretrieger garretrieger deleted the copy_indices branch February 6, 2025 19:47
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