On Sun, Nov 15, 2020 at 11:59:11AM +0300, Matsievskiy S.V. wrote: > Inserted into overlays SVG images have oversized bottom and right > margins. This bug was > introduced somewhere between 109eb1e7e29455418b40ca00bf5dad3e61e5fc78 > and a32fd9f64d06ccd07a9beaf6d6f1283f7a80edac This is exactly what I expected when I made the last change: someone would quickly find an SVG that doesn't work. All I can think of to do is ignore the deprecation of svg_handle_get_dimensions and continue using it. The release notes for librsvg 2.46 state it's deprecated but still available. Patch attached. Are we happy to continue using deprecated functions? (I was looking through the librsvg bug tracker and it looks as though they want to move away from depending on Cairo. Perhaps this means things will improve for us in the future.) -- Alan Third