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

Remove support for FreeType 2.7 and older #5777

Merged
merged 4 commits into from Oct 19, 2021

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Oct 18, 2021

Deprecated in Pillow 8.1.0 (issue #5075, PR #5098).

Support for FreeType 2.7 has been removed.

We recommend upgrading to at least FreeType 2.10.4, which fixed a severe vulnerability introduced in FreeType 2.6 (CVE-2020-15999).

@hugovk hugovk added the Removal Removal of a feature, usually done in major releases label Oct 18, 2021
@hugovk hugovk added this to the 9.0.0 milestone Oct 18, 2021
freetype = parse_version(features.version_module("freetype2"))
if freetype < parse_version("2.4"):
width, height = (129, 44)
left = left_old
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems to be the only use of the left_old parameter, can also be removed.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, removed!

@radarhere radarhere merged commit cf757e6 into python-pillow:main Oct 19, 2021
@hugovk hugovk deleted the rm-freetype-2.7 branch October 19, 2021 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Removal Removal of a feature, usually done in major releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants