Open NilsNiggemann opened 11 months ago
Interesting, this seems to be a bug in Cairo. Because I checked what positions get computed for the line vertices in CairoMakie and that's projected_positions = Vec{2, Float32}[[7.36f7, 284.0], [7.36f8, 284.0]]
. But in the svg that gets rendered, I get d="M 6491184 300 L -2197456 300 "
as a path, and the L -2197456
suggests that some integer wraparound has happened. I'm not sure which part of Cairo it is that cannot deal with very large points far outside the canvas boundaries.
This specific case is fine for me on breaking-0.21, but it might have just moved to different values
When a line is plotted with relatively large values on the x axis it sometimes displays an erronous line that seems to start at x=0. Here is a MWE:
]activate --temp; add Makie
)-GPU
(I don't have root permissions here, but I don't expect the GPU to be relevant anyway)