Skip to content

[fix] Fixed text wrapping issue #4712

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

Merged
merged 1 commit into from
Aug 3, 2020
Merged

[fix] Fixed text wrapping issue #4712

merged 1 commit into from
Aug 3, 2020

Conversation

fenilgandhi
Copy link
Contributor

Resolves #4652

Changes:
Addes the following updates to the text() method

  • Added hypen to word, if overflowing and prints rest of word on new line
  • Stops y from overflowing in case of textALignments.

Screenshots of the change:
Text rendering before the fix
orig

Text rendering post the fix
postfix

PR Checklist

- Added hypen to word, if overflowing and prints rest of word on new line
- Stops y from overflowing in case of textALignments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

text() should handle single words wider than bounding box
2 participants