Skip to content

Conversation

@Vansh0204
Copy link

@Vansh0204 Vansh0204 commented Nov 26, 2025

PR2

  • Adds textWrap(PRETTY) and textWrap(BALANCE) to improve line-breaking aesthetics.
  • Uses dynamic programming to minimize raggedness; last line has zero penalty.
  • Integrates with existing text flow in 2D; works with all alignments, including JUSTIFIED .
  • Lint/build pass locally.

Addresses and resloved #7712

…anced word wrapping\n\n- Introduces and wrap styles\n- Uses dynamic programming to minimize raggedness\n- Integrates with 2D renderer; works with existing alignments including JUSTIFIED\n\nRefs processing#7712
@welcome
Copy link

welcome bot commented Nov 26, 2025

🎉 Thanks for opening this pull request! For guidance on contributing, check out our contributor guidelines and other resources for contributors!
🤔 Please ensure that your PR links to an issue, which has been approved for work by a maintainer; otherwise, there might already be someone working on it, or still ongoing discussion about implementation. You are welcome to join the discussion in an Issue if you're not sure!
🌸 Once your PR is merged, be sure to add yourself to the list of contributors on the readme page !

Thank You!

@Vansh0204
Copy link
Author

Hello @osteele @andrewn @zeke @reidab sir can u please review my PR.

@dhowe
Copy link
Contributor

dhowe commented Nov 27, 2025

@Vansh0204 have you created tests for this feature?

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.

2 participants