Skip to content
New issue

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

Docs: Clarify that a single value is returned, and depends on the text direction #7305

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Jul 25, 2023

Fixes #7304.

Changes proposed in this pull request:

  • Clarify that a tuple isn't returned, but a single value is (that it depends on the direction of the text)

@radarhere radarhere merged commit 07623d1 into python-pillow:main Jul 25, 2023
54 checks passed
@hugovk hugovk deleted the docs-clarify-textlength-return branch July 26, 2023 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: ImageDraw.textlength only return the width instead of (width, heigth)
4 participants