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

Take discrete axes into account when checking for feature compatibility #867

Merged
merged 2 commits into from
Sep 2, 2024

Conversation

justvanrossum
Copy link
Contributor

This fixes #865.

I looked for a way to test this, but I didn't see a place where I can easily add this.

@justvanrossum
Copy link
Contributor Author

@anthrotype, can you please have a look?

)
can_optimize_features = self.variableFeatures and all(
_featuresCompatible(doc) for doc in interpolableSubDocs
)
Copy link
Member

Choose a reason for hiding this comment

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

black?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops. Fixed.

@anthrotype anthrotype merged commit 12b68f0 into googlefonts:main Sep 2, 2024
7 checks passed
@justvanrossum justvanrossum deleted the issue865 branch September 2, 2024 18:18
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.

Variable Feature code path optimization does not take discrete axes into account
2 participants