[reportlab-users] Reportlab + SVG
andy at reportlab.com
Mon Mar 31 02:50:07 EDT 2014
I can confirm that we have nothing other than Dinu's approach in the
open source world. It works very well though, handling the well-known
Postscript tiger image. If your image has a lot of text, it may make
sense to use a design package to convert your fonts to curves.
PIL does not handle these as proper vectors AFAIK.
ReportLab PLUS can handle PDF artwork natively so if you want to
consider the commercial route, you can turn SVG into PDF (using
various XPDF or Ghostscript tools) and just use them with all of our
On 31 March 2014 07:09, Dinu Gherman <gherman at darwin.in-berlin.de> wrote:
> Richard Shea:
>> It's a long time since I looked at this subject so I thought I would ask
>> for an update.
>> If I have an SVG file I wish to embed in a Reportlab generated PDF is
>> the recommended approach to use PIL (or Pillow ?) to convert it to a
>> non-vector format and use the result of the process to initialise a
>> Reportlab Image object ?
>> I'm asking because I thought sometime I read about a more direct
>> approach where ReportLab might deal with SVG's directly but now I go and
>> look for a reference to that idea I can't find it.
> You might want to look at this:
> It's somewhat dusted, not Python 3.0, and comes with a few limitations, mostly given by SVG features not mappable to ReportLab Graphics features, like gradiation, some font magic and probably a few others...
> reportlab-users mailing list
> reportlab-users at lists2.reportlab.com
ReportLab Europe Ltd.
Thornton House, Thornton Road, Wimbledon, London SW19 4NG, UK
More information about the reportlab-users