We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImageDraw.textsize
Pillow 10.0.0 removed the textsize method: https://github.com/python-pillow/Pillow/blob/f089c2db8c1806f09e6ed53a1986146693db1ade/docs/releasenotes/10.0.0.rst#font-size-and-offset-methods
textsize
This makes something like this fail
.. blockdiag:: blockdiag foo { node_width = 40; span_width = 40; A <- B <- C <- D <- E; }
with the following error:
Warning, treated as error: dot code 'blockdiag foo {\n node_width = 40;\n span_width = 40;\n A <- B <- C <- D <- E;\n}': 'ImageDraw' object has no attribute 'textsize' nox > Command sphinx-build -E -W -d doc/build/doctrees -b html doc/source/ doc/build/html failed with exit code 2 nox > Session docs failed.
The text was updated successfully, but these errors were encountered:
From what I see, sphinxcontrib-blockdiag doesn't use Pillow directly, but rather it uses reportlab which uses Pillow.
https://www.reportlab.com/about/contact/ suggests that you contact reportlab-users@lists2.reportlab.com
Sorry, something went wrong.
FYI, there is a PR for this issue: blockdiag/blockdiag#171
No branches or pull requests
Pillow 10.0.0 removed the
textsize
method: https://github.com/python-pillow/Pillow/blob/f089c2db8c1806f09e6ed53a1986146693db1ade/docs/releasenotes/10.0.0.rst#font-size-and-offset-methodsThis makes something like this fail
with the following error:
The text was updated successfully, but these errors were encountered: