Steve Beisner <be...@al...>:
> Does anyone have experience using Reportlib's pdfgen library
> with Jython? In the past I've used it with CPython and found
> it excellent.
>
> Alternatively, does anyone have a recommendation on PDF
> generation with Jython?
>
> --Steve Beisner
Steve,
as it happens I've evaluated the ReportLab Toolkit version 1.12 with
Jython only a few weeks ago. Surprisingly, a lot of things work and
you definitly get PDFs out. See http://www.reportlab.com for the
newest release 1.13.
The drawbacks are:
1. the test suite partly fails, because it makes use of certain
commands in module os not available in Java-land (like chdir).
2. the compiled C accelerators are not available in Java, so
for some operations performance is much lower compared to
CPython.
3. there is no PIL available for Jython AFAIK, so you'll not
be able to output bitmap formats, but only PDF and EPS (and
sooner or later SVG).
Some additional comments: you may want to simply ignore (1),
use a JIT compiler for (2) and think hard about (3) if you do
need bitmaps...
Hope that helps,
Dinu
--
Dinu C. Gherman
ReportLab Consultant
|