Generate report containing pdf or ps figures?

Grant Edwards grante at visi.com
Fri May 18 20:33:06 EDT 2007


On 2007-04-23, Grant Edwards <grante at visi.com> wrote:

> I need to be able to generate a PDF report which consists
> mostly of vector images (which I can generate as encapsulated
> Postscript, PDF, or SVG).
[...]
> Is there a PDF generation library that can place EPS or PDF
> figures on a page?

I finally gave up trying to generate a PDF report. I did come
up with two alternative solutions that partly work.

 1) XHTML+SVG

    Unfortunately a lot of SVG renderers are rather broken.
    Opera and Firefox both seem to have rather nasty font
    sizing issues.

 2) PyRTF+EMF    

    Seems to work pretty well.  However, some Unix apps that
    support RTF don't include EMF graphics support (Ted and
    Abiword appear to fall into that group).  Still, it does
    work with OOo, MS Word, and with both versions of the
    gratis MS Word viewer.

-- 
Grant Edwards                   grante             Yow!  NEWARK has been
                                  at               REZONED!! DES MOINES has
                               visi.com            been REZONED!!



More information about the Python-list mailing list