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

Fix the order of feature writers #1025

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Fix the order of feature writers #1025

merged 1 commit into from
Aug 29, 2024

Conversation

khaledhosny
Copy link
Collaborator

We want curs feature lookups to come first, then kerning, then mark/mkmk, but we currently are calling CursFeatureWriter last which causes its lookups to be also written last. The lookup order does not matter for HarfBuzz, but it matters for other implementations, see: harfbuzz/harfbuzz#4596 (comment)

We want curs feature lookups to come first, then kerning, then
mark/mkmk, but we currently are calling CursFeatureWriter last which
causes its lookups to be also written last. The lookup order does not
matter for HarfBuzz, but it matters for other implementations, see:
harfbuzz/harfbuzz#4596 (comment)
@khaledhosny
Copy link
Collaborator Author

The regression tests failures are all because we now write the feature writers in a different order in the UFO lib, so they will fix themselves once this PR is merged.

@khaledhosny
Copy link
Collaborator Author

Merging this as it matches googlefonts/ufo2ft#864

@khaledhosny khaledhosny merged commit b538338 into main Aug 29, 2024
9 of 10 checks passed
@khaledhosny khaledhosny deleted the feature-writer-order branch August 29, 2024 10:52
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