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

Add contextual lookups #6

Merged
merged 4 commits into from
Jul 26, 2024
Merged

Add contextual lookups #6

merged 4 commits into from
Jul 26, 2024

Conversation

dfrg
Copy link
Collaborator

@dfrg dfrg commented Jul 26, 2024

Adds the missing contextual lookups for fontations and removes all of the ttf-parser OT lookup code.

This is a huge patch but all tests pass and we're now running almost all of OT through fontations.

The remaining ttf-parser OT code revolves around shape planning: script, langsys, features, etc.

dfrg added 4 commits July 25, 2024 21:56
Adds the missing contextual lookups for fontations and removes all of the ttf-parser OT lookup code.

This is a huge patch but all tests pass and we're now running almost all of OT through fontations.

The remaining ttf-parser OT code revolves around shape planning: script, langsys, features, etc.
Copy link
Collaborator

@cmyr cmyr left a comment

Choose a reason for hiding this comment

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

looks like a good start!

input: &[T],
match_func: &match_func_t,
lookups: &[SequenceLookupRecord],
) -> Option<()> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤨

@dfrg dfrg merged commit cdb55cc into main Jul 26, 2024
4 checks passed
@dfrg dfrg deleted the context_lookups branch July 26, 2024 19:40
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.

2 participants