[Pkg-electronics-devel] Bug#906060: Coordinate overflow when rendering

Jason Crain jason at inspiresomeone.us
Mon Aug 13 22:15:18 BST 2018


On 2018-08-13, Simon Richter <sjr at debian.org> wrote:
> Quick debugging has shown that the coordinates given to Cairo still make
> sense, even if the zoom level makes them numerically large. As I'd need
> significant time to debug into optimized drawing routines, I'd like to pass
> this on. I suspect that this is mostly an interaction between Cairo and
> Pixman, with an overflow happening somewhere in a conversion from double to
> an integer type.

There are a few upstream bug reports filed against cairo for similar issues,
such as https://bugs.freedesktop.org/show_bug.cgi?id=102966 and
https://bugs.freedesktop.org/show_bug.cgi?id=81657. The 'Poppler' library has
tended to work around these by modifying the transformation matrix to not be so
large.



More information about the Pkg-electronics-devel mailing list