Open danieldg opened 4 months ago
Thanks, will take a look.
I came across what I think is the same issue. I was drawing aa rects with width exactly 1 and non-integral horizontal positions.
I think the right fix is to let width be 0 in the inner part of hairline_aa.rs:fill_dot8
and just skip the blit_rect
for that case with no error.
I put up a pull request with test and fix at #119.
Thanks. Will take a look. The correct fix would be to have exactly the same logic Skia does. So the main problem here is for me to find time to dive into Skia sources.
Using tiny-skia-0.11.4:
Backtrace: