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

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

3 participants