You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the reason is that PIL's textsize() function does not consider the offset of the font. python-pillow/Pillow#644
I don't know it is a bug or feature for PIL, But you can fix this by just adding the offset the w and h in _draw_character() function.
The text was updated successfully, but these errors were encountered:
I think the reason is that PIL's textsize() function does not consider the offset of the font.
python-pillow/Pillow#644
I don't know it is a bug or feature for PIL, But you can fix this by just adding the offset the w and h in _draw_character() function.
The text was updated successfully, but these errors were encountered: