Skip to content

Conversation

@benoitkugler
Copy link
Contributor

@benoitkugler benoitkugler commented Dec 12, 2025

Accepts a fixed.Int26_6 as maxWidth, closes #208

We should perhaps deprecate the int versions of WrapParagraph and WrapNextLine, not sure how to proceed though.

Copy link
Contributor

@andydotxyz andydotxyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Not sure if the int versions need to be deprecated - if it is often using int (pixel) based limits then the old APIs support avoiding unncessary fixed conversions.

Copy link
Contributor

@andydotxyz andydotxyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay

@benoitkugler
Copy link
Contributor Author

@whereswaldon Hi Chris, any chances you could have a look at this PR ? Thank you !

Copy link
Member

@whereswaldon whereswaldon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just noticed a typo in a comment. Sorry for the delay!

@benoitkugler
Copy link
Contributor Author

Thank you !

@benoitkugler benoitkugler merged commit 1b62c7c into main Jan 19, 2026
14 checks passed
@benoitkugler benoitkugler deleted the wrapping-maxwidth-type branch January 19, 2026 14:39
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.

Suboptimal wrapping due to rounding

4 participants