-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
enhancementNew feature or requestNew feature or request
Description
It is a bit unfortunate that LineWrapper.WrapNextLine and LineWrapper.WrapParagraph take an int for the maximum width.
In one of my use case, the precision loss matters as an unexpected line break is produced by go-text. More precisely, I have a single run of text of advance 45.5 and a max width of 45.8, so that the run is broken by go-text while it should simply fit on the first line.
I think we should change the type used internally, expose two new methods taking a fixed.26_6, and (perhaps) deprecate the current method.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request