[reportlab-users] svg rendering and groups

Dinu Gherman gherman at darwin.in-berlin.de
Thu Oct 2 04:41:26 EDT 2008

Marcel Tromp:

> I am using to render a drawing that is build of groups of groups.

> Rendering to pdf works fine. Rendering to svg causes offsets to

> picture

> elements that were build as a group.


> Is this a known problem? Any workarounds?


> I need both translations and rotates, so building the drawing in a

> single group will be difficult.

I was involved in writing ReportLab's renderSVG module (Robin,
correct me, if I'm wrong), but I am no longer and I don't know
how much RL supports or even uses this code nowadays.

What I suggest is that you create a couple of test cases and
run roundtrip tests (SVG->PDF->SVG and PDF->SVG->PDF) using
renderSVG and my svglib package [1] in order to get some more
concrete ideas about what is actually going wrong.



[1] http://pypi.python.org/pypi/svglib/0.6.0

More information about the reportlab-users mailing list