Unexpected shift with push_group and pop_group
Submitted by Stefan Röllin
Assigned to Adrian Johnson @ajohnson
Description
A problem with the pdf cairo backend was found in inkscape, see bug https://bugs.launchpad.net/inkscape/+bug/320646
The attached program reproduces this behaviour. It does basically the following:
draw a circle
cairo_push_group
draw another circle at same place as first
cairo_pop_group_to_source
cairo_paint_with_alpha
One would expect that both circles are shown at the same place, which is not the case. It depends on the page size, whether the second circle is at the correct position or not.
Version: 1.8.6