-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Looks like the seqdiag/blockdiag uses ImageDraw.textsize() but it seems it was removed with Pillow 10.0.0
Check here:
https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html#font-size-and-offset-methods
Because of this we get the following exceptions:
File "/venv/lib/python3.11/site-packages/blockdiag/imagedraw/png.py", line 276, in textlinesize size = self.draw.textsize(string, font=None) ^^^^^^^^^^^^^^^^^^ AttributeError: 'ImageDraw' object has no attribute 'textsize'
Note:- This works if we revert to Pillow version 9.5.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels