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

[postProcessor] fontTools.varLib.cff.convertCFFtoCFF2 is deprecated #882

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

khaledhosny
Copy link
Collaborator

Try importing fontTools.cffLib.CFFToCFF2.convertCFFToCFF2 first, and confine the width stripping to when the deprecated method is used, as it is already fixed in FontTools.

@anthrotype
Copy link
Member

could we just bump the required fonttools instead?

@khaledhosny
Copy link
Collaborator Author

Fine by me.

Try importing fontTools.cffLib.CFFToCFF2.convertCFFToCFF2 first, and
confine the width stripping to when the deprecated method is used, as it
is already fixed in FontTools.
Copy link
Member

@anthrotype anthrotype left a comment

Choose a reason for hiding this comment

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

LGTM (provided lint check is also happy)

It has the CFF to CFF2 fixes.
@khaledhosny khaledhosny merged commit d15ef8f into main Oct 16, 2024
9 checks passed
@khaledhosny khaledhosny deleted the deprecation-warning branch October 16, 2024 09:06
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