Created attachment 114219 [details] File with shadows, which garbaged during PDF->SVG conversion When converting attached file to SVG, I see that square and star objects shadows are missing. I've used pdftocairo version 0.24.6. Command: pdftocairo -svg testlinks.pdf Using git bisect I've found that first commit where shadow rendering was broken is commit 8020e0bc8cbd3e5ac188eb305b74ae1c1f362a31 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Oct 3 17:01:41 2012 +0100 In that commit file src/cairo-recording-surface.c was changed. If I revert this part of diff patch, then shadows rendering brings back. @@ -1131,7 +1441,7 @@ _cairo_recording_surface_snapshot (void *abstract_other) surface->optimize_clears = TRUE; _cairo_array_init (&surface->commands, sizeof (cairo_command_t *)); - status = _cairo_recording_surface_replay (&other->base, &surface->base); + status = _cairo_recording_surface_copy (other, surface); if (unlikely (status)) { cairo_surface_destroy (&surface->base); return _cairo_surface_create_in_error (status); Could you please help me to fix _cairo_recording_surface_copy function to support shadows? In the latest cairo builds shadows are broken even more. They are not absent, but rendered as gray rectangles under the objects.
it seems to be a duplicate of bug #73038
Yes, it is the duplicated bug. Thank you!
*** This bug has been marked as a duplicate of bug 73038 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.