Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(typography): add PRETTY and BALANCE textWrap modes#8312

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Vansh0204 wants to merge2 commits intoprocessing:dev-2.0
base:dev-2.0
Choose a base branch
Loading
fromVansh0204:feat/textwrap-pretty-balance-dev2

Conversation

@Vansh0204
Copy link

Changes

  • AddsPRETTY andBALANCE constants tosrc/core/constants.js
  • Implements Knuth-Plass inspired dynamic programming algorithm in_lineate
  • Minimizes raggedness for visually balanced text blocks
  • Addresses[2.0] Additional text alignment options #7712

@dhowedhowe self-requested a reviewDecember 2, 2025 00:59
@Vansh0204
Copy link
Author

@dhowe and@osteele, sir, can you please review these PRs.

@dhowe
Copy link
Contributor

please update with dev-2.0 (and please be patient... we have many PRs to review) thank you

…anced wrapping- Adds PRETTY and BALANCE constants to src/core/constants.js- Implements dynamic programming algorithm in _lineate for balanced line breaking- Minimizes raggedness by considering all possible line breaks- Includes manual test demonstrating PRETTY/BALANCE vs WORD wrapAddressesprocessing#7712
@Vansh0204Vansh0204force-pushed thefeat/textwrap-pretty-balance-dev2 branch fromb9855f3 tob2ca830CompareDecember 3, 2025 20:28
@Vansh0204
Copy link
Author

@dhowe sir, I have updated to the latest dev-2.0 as requested. Ready for review when you have time!

@dhowe
Copy link
Contributor

dhowe commentedDec 7, 2025
edited
Loading

@Vansh0204 do the manual tests that you added work for you? If so, please include screenshots here

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@dhowedhoweAwaiting requested review from dhowe

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@Vansh0204@dhowe

[8]ページ先頭

©2009-2025 Movatter.jp