You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it might happen when the layout line can't into the dimensions or something similar. I'll work on simplifying my test case down to verify but wanted to create this issue so I don't forget about it.
The text was updated successfully, but these errors were encountered:
As the font size and line height increases it becomes more likely to hit this (reason described in #82), which is why I noticed this while I was increasing my font size.
It's possible that
remaining_len
attempts to subtract 1 from 0 in certain cases (I ran into it when testing font sizes in my application).cosmic-text/src/buffer.rs
Line 241 in 9a4d067
I think it might happen when the layout line can't into the dimensions or something similar. I'll work on simplifying my test case down to verify but wanted to create this issue so I don't forget about it.
The text was updated successfully, but these errors were encountered: