[reportlab-users] Reportlab and SVG output
King Simon-NFHD78
simon.king at motorola.com
Thu Jan 29 10:26:14 EST 2009
> -----Original Message-----
> From: reportlab-users-bounces at reportlab.com
> [mailto:reportlab-users-bounces at reportlab.com] On Behalf Of
> Andy Robinson
> Sent: 29 January 2009 14:12
> To: peter at maubp.freeserve.co.uk; Support list for users of
> Reportlab software
> Subject: Re: [reportlab-users] Reportlab and SVG output
>
> 2009/1/29 Peter <peter at maubp.freeserve.co.uk>:
> ...snip...
> > A similar solution was suggested back in 2006, just adding
> some missing
> > values to the <svg> tag, and this also seems to work fine:
> >
> http://two.pairlist.net/pipermail/reportlab-users/2006-June/00
> 5055.html
> >
> > Looking at SVN, this fix was never committed - was there a
> good reason for this?
>
> [snip]
Interestingly, the message after that one (SVG Part II) describes a
'bug' in renderSVG - the parameters to SVGCanvas.drawString are in a
different order to those in the the PDF Canvas class. What's more,
SVGCanvas.drawCentredString calls SVGCanvas.drawString, but passes the
arguments in the wrong order! I guess no-one's using
SVGCanvas.drawCentredString or drawRightString.
:-)
Simon
More information about the reportlab-users
mailing list