> >> warn my $d = Poppler::Document->new_from_data ($data, length
> >> $data); ---
> >>
> >> Does it not work for you?
> > 
> > No - I get "PDF document is damaged at
> > /usr/lib/x86_64-linux-gnu/perl5/5.20/Glib/Object/Introspection.pm
> > line 58."
> > 
> > What version of Poppler do you have?
> 
> 0.41.0, and G:O:I from Git, but I don't think there were any recent
> changes that are relevant.  Does this happen for all PDF files you
> try?

Yes - I spent quite some time a few months ago working on this with different
PDFs, different attempts at data conversion, etc. I get that error with
your exact code (except for the filename, of course) with any PDF. If
it "just works" for you, I'll spend some time updating all relevant
libs on my system to see if that helps.

Thanks,
Jeremy
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to