On 03/20/2012 11:47 PM, Serafeim Zanikolas wrote:
Hi guys,

On Tue, Mar 20, 2012 at 10:57:44PM +0100, Pino Toscano wrote:
Alle venerdì 24 febbraio 2012, Pino Toscano ha scritto:
Alle venerdì 24 febbraio 2012, Serafeim Zanikolas ha scritto:
On Fri, Feb 24, 2012 at 08:11:17AM +0100, Konstantinos Poulios
wrote
[edited]:
On 02/24/2012 01:20 AM, Pino Toscano wrote:
[..]

The cairo rendering methods are in poppler-glib since many
release (at least 0.10, if not even earlier); since
python-poppler 0.12 maps the poppler-glib 0.12 API, I think any
python-poppler 0.12.x version (so what's in stable already)
should be fine.
Hi, I think the best would be to make a 0.6 release of
pdfshuffler soon. I wanted to review and add some more patches
that I have received from people but I don't have the time right
now, so I think I will just do some further testing and make a
0.6 release ASAP.
Looks great!
Any new about this issue?
I would like to do a poppler 0.18.x soon (my hope is not later than mid
April), so having this issue fixed would certainly help.
I'm waiting for the new upstream release.

sez
sorry guys for the slow progress but I am blocked by a huge memory leak caused by python-poppler. A way of reproducing it:

import  os.path
import  poppler
import  cairo

uri  =  'file://'  +  os.path.abspath('./gnuplot.pdf')
doc  =  poppler.document_new_from_file  (uri,  None)
for  i  in  range(5):
    for  i  in  range(doc.get_n_pages()):
        page  =  doc.get_page(i)
        w,  h  =  page.get_size()
        thumbnail  =  cairo.ImageSurface(cairo.FORMAT_ARGB32,  int(w),  int(h))
        cr  =  cairo.Context(thumbnail)
        page.render(cr)
        print  i
    raw_input("Press ENTER to continue")



a 3 years old bug reportupstream:

https://bugs.launchpad.net/poppler-python/+bug/509408

probably already fixed:

http://bazaar.launchpad.net/~poppler-python/poppler-python/trunk/revision/75

I will do some testing myself, but the ideal would be if:

1. the python-poppler upstream makes a new release including the already available fixes
2. the new python-poppler comes to debian
3. I release the new cairo based version of pdfshuffler

anyway I will come back to this.

Kostas



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to