Skip to content
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

Fix precision rounding issues in LineWrapper #1595

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hollandjake
Copy link
Contributor

What kind of change does this PR introduce?

Similar to #1583 this fixes the rounding errors occurring during text width calculations

Checklist:

  • Unit Tests N/A
  • Documentation N/A
  • Update CHANGELOG.md N/A
  • Ready to be merged

@hollandjake
Copy link
Contributor Author

All these issues with rounding does raise the question as to whether we should be compliant with the spec and use 32bit numbers everywhere. but thats one for the maintainers to decide

see Annex C.2

@hollandjake hollandjake marked this pull request as draft January 31, 2025 09:23
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.

1 participant