-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Text render bug using tiny-skia #2665
Comments
Sadly, I found it happend even just scroll one column text :( |
There seems to be an issue with |
I just found that its due to a layer damage calculation in: Lines 197 to 220 in a687a83
It is probably due to float imprecision, I tested fix on my side, everything seems to be okay with additional 1 pixel padding. |
Is your issue REALLY a bug?
Is there an existing issue for this?
Is this issue related to iced?
What happened?
When two groups of text with different lengths are scrolled together, the shorter group leaves a wrong rendering after the text.
It only happened on tiny-skia in my pc. I am on windows10, latest rustc(1.82)
Can be reproduct using this code
Cargo.toml
compile, scroll and see
What is the expected behavior?
There shouldn't be any of those weird trails.
Version
crates.io release
Operating System
Windows
Do you have any log output?
No response
The text was updated successfully, but these errors were encountered: