-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Incomplete text rendering of strings with consecutive line breaks #3736
Comments
The code below still gives a "zero length string passed to TextLayout constructor" error. Removing the textAlign(CENTER, CENTER) solves it or adding a space behind the \n. In Android mode this code just works normally (discovered it when working with the Ketai library.
|
I'm having the same problem in 3.0.1.
|
The original problem was fixed, so open a new report. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
When using the 5-argument version of text(), if there are multiple consecutive line breaks, the text after the line break is not rendered. Minimal example:
Output only shows "Hello"
This bug appears to have been introduced after 3.0b3, where the text is rendered correctly.
Tested with Processing 3.0b4 on OSX, Linux, and Windows,, and 3.0b5 on OSX.
The text was updated successfully, but these errors were encountered: