Public bug reported:

Binary package hint: librsvg2-2

Please see: http://bugzilla.gnome.org/show_bug.cgi?id=500787
Copied from there:
When rendering an SVG within a cairo_push_group context, the SVG does not
translated properly; instead it is adjusted to touch the upper left corner of
the underlying surface.

I'll attach a small program that demonstrates the issue, courtesy of Carl
Worth. It produces two output images which should be identical.

Analysis. This behaviour was introduced in the patch for #412682 - changing the
device offset within a cairo_push_group has no effect.

Fix. We can get the same effect as changing the device offset by adjusting
cairo's ctm for the original context appropriately. I'll attach a patch.

With reference:
http://lists.cairographics.org/archives/cairo/2007-December/012181.html

Donn.

** Affects: librsvg (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Translation gets ignored when rendering an svg with cairo in the context of a 
cairo_push_group()
https://bugs.launchpad.net/bugs/175863
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to