Generating PDF file in Python

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Fri Oct 29 22:27:50 EDT 2010


In message <mailman.256.1288099490.2218.python-list at python.org>, Ed Keith wrote:

> I need to generate PDF files and I'm exploring what tools to use. I was
> planing on using ReportLab, but recently found some references to pango
> (http://www.pango.org/) and ciaro (http://cairographics.org/) being able
> to generate PDF files. But am having difficulty finding details.

Pango is just a text-layout engine. It doesn’t provide its own rendering
facilities; it relies on graphics APIs like Cairo for that.

For Cairo, just render to a PDF surface
<http://cairographics.org/documentation/pycairo/2/reference/surfaces.html#class-pdfsurface-surface>.

> Are there other options I have overlooked?

How about Poppler?



More information about the Python-list mailing list