Skip to content

Conversation

@radarhere
Copy link
Member

Follow up to #7584

Since ImageFont.truetype() really just constructs an ImageFont.FreeTypeFont instance, I think it makes sense to move the new ValueError from ImageFont.truetype() to ImageFont.FreeTypeFont, allowing ImageFont.FreeTypeFont to also have this validation.

@radarhere radarhere merged commit b51dcc0 into python-pillow:main Dec 4, 2023
@radarhere radarhere deleted the freetypefont branch December 4, 2023 11:05
radarhere added a commit to radarhere/Pillow that referenced this pull request Dec 8, 2023
radarhere added a commit to radarhere/Pillow that referenced this pull request Dec 8, 2023
@radarhere radarhere mentioned this pull request Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants