-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Justified text sometimes expands past maxWidth #2553
Comments
this seems to be a bug. You can reproduce and playaround this in Live Demo. if you add a space to the string, it works well.
|
This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant. |
Still an issue |
Probably this is issue is related to my issue about wrong calculations in
justified text and use of gettextdimension function.
El mié., 8 jul. 2020 7:32, Simon Bengtsson <[email protected]>
escribió:
… Still an issue
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2553 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB5QVX67NSL4P47YAEQSXR3R2QAINANCNFSM4IKTQ3DQ>
.
|
This should not be closed? |
Interesting, I thought commenting would be enough such that the bot doesn't close the issue. |
This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant. |
Still relevant |
@simonbengtsson @HackbrettXXX I believe this can be closed now. This is what the example looks like in the playaround: I believe this PR fixed it: #3168 |
Sometimes when drawing text with the justify alignment option set the text expands past maxWidth. Red lines in the below example highlights the maxWidth length and the
fillerrrrr
word can be seen expanding past it.The same example works when using left alignment:
Here is the code for the example:
The text was updated successfully, but these errors were encountered: