Skip to content

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.

3 participants