Re: G::O::I based bindings and problem passing char array ref

2016-06-02 Thread Jeremy Volkening
> > I see that the data argument to "new_from_data()" is specified as a > utf-8 char array, but the contents of the PDF files (those that use > compressed blocks) are not actually straight UTF-8. Is it possible > that perl-G:I:O sees the specs and is forcing UTF-8 encoding on the > data at some po

Re: G::O::I based bindings and problem passing char array ref

2016-06-02 Thread Jeremy Volkening
On Thu, 2 Jun 2016 21:09:51 -0500 Jeremy Volkening wrote: > This problem is a bit hard to grasp. More detailed tests on another > batch of PDFs gave this: > > 1. Most (126) failed to open with the "PDF document is damaged" error > > 2. A few (4) opened but failed to load the first page ( e.g. >

Re: Perl-Gtk3-Tutorial

2016-06-02 Thread Emmanuele Bassi
Hi; On 2 June 2016 at 13:19, max.augsb...@gmx.de wrote: > Is there a possibility to link it (of course after a good proof-reading) > also on https://developer.gnome.org/gnome-devel-demos/stable/ (I find > perl is a little bit underrepresented on the gtk/gnome site ;-) or > somewhere else? I miss

Re: Perl-Gtk3-Tutorial

2016-06-02 Thread Brian Manning
On Thu, Jun 2, 2016 at 5:19 AM, max.augsb...@gmx.de wrote: > Dear Perl-Gtk3 Programmer, > > I have created a Perl-Gtk3 Tutorial or better translated the Python > Tutorial from > https://developer.gnome.org/gnome-devel-demos/stable/tutorial.py.html.en > > Is there a possibility to link it (of cours

Perl-Gtk3-Tutorial

2016-06-02 Thread max.augsb...@gmx.de
Dear Perl-Gtk3 Programmer, I have created a Perl-Gtk3 Tutorial or better translated the Python Tutorial from https://developer.gnome.org/gnome-devel-demos/stable/tutorial.py.html.en You can find the PDF file and the example codes here: https://github.com/MaxPerl/perl-Gtk3-Tutorial Suggestions

Re: G::O::I based bindings and problem passing char array ref

2016-06-02 Thread Jeremy Volkening
> > > > Can anyone else test that the above code does or doesn't work on > > their system? If it's just me I guess I won't worry about it too > > much, although I'd like to know why. > > I tried several files and I got "PDF document is damaged at > /usr/lib/perl5/vendor_perl/5.22.1/x86_64-linux-th

Re: G::O::I based bindings and problem passing char array ref

2016-06-02 Thread Thierry Vignaud
On 2 June 2016 at 04:26, Jeremy Volkening wrote: >> > 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 recen