Skip to content

Conversation

@radarhere
Copy link
Member

Resolves #6689

Pillow calls FT_Set_Pixel_Sizes when loading a font. FT_Set_Pixel_Sizes takes FT_UInt as the width/height arguments, but then multiplies those integers by 64 before calling FT_Request_Size.

As suggested, this PR calls FT_Request_Size directly instead, allowing 64 times the control over font sizes.

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.

Support float values for sizes in ImageFont.truetype

2 participants