[Sugar-devel] [Browse] PDFs inline

2010-07-18 Thread Lucian Branescu
I've seen your merge request on
http://git.sugarlabs.org/projects/browse/repos/inline-pdf.

Since I've been working on Browse-webkit, I'd like to implement inline
PDFs for it as well. However, evince maintainers are very hostile to
browser plugins, NPAPI or otherwise
(https://bugzilla.gnome.org/show_bug.cgi?id=168933).

I'd like your advice on how to handle this feature within
Browse-webkit. pywebkitgtk has the capability to embed widgets just
like you'd embed NPAPI plugins. Should I embed evince or work with
poppler directly?
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Browse] PDFs inline

2010-07-18 Thread Sayamindu Dasgupta
On Sun, Jul 18, 2010 at 9:36 AM, Lucian Branescu
lucian.brane...@gmail.com wrote:
 I've seen your merge request on
 http://git.sugarlabs.org/projects/browse/repos/inline-pdf.

 Since I've been working on Browse-webkit, I'd like to implement inline
 PDFs for it as well. However, evince maintainers are very hostile to
 browser plugins, NPAPI or otherwise
 (https://bugzilla.gnome.org/show_bug.cgi?id=168933).


I used mozplugger to do this.

 I'd like your advice on how to handle this feature within
 Browse-webkit. pywebkitgtk has the capability to embed widgets just
 like you'd embed NPAPI plugins. Should I embed evince or work with
 poppler directly?


It may be a good idea - but it may be even better to have a simple PDF
viewer widget (which incorporates an add to journal button) using
the evince-python bindings.

Thanks,
Sayamindu


-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Browse] PDFs inline

2010-07-18 Thread Lucian Branescu
On 18 July 2010 18:54, Sayamindu Dasgupta sayami...@gmail.com wrote:
 On Sun, Jul 18, 2010 at 9:36 AM, Lucian Branescu
 lucian.brane...@gmail.com wrote:
 I've seen your merge request on
 http://git.sugarlabs.org/projects/browse/repos/inline-pdf.

 Since I've been working on Browse-webkit, I'd like to implement inline
 PDFs for it as well. However, evince maintainers are very hostile to
 browser plugins, NPAPI or otherwise
 (https://bugzilla.gnome.org/show_bug.cgi?id=168933).


 I used mozplugger to do this.

 I'd like your advice on how to handle this feature within
 Browse-webkit. pywebkitgtk has the capability to embed widgets just
 like you'd embed NPAPI plugins. Should I embed evince or work with
 poppler directly?


 It may be a good idea - but it may be even better to have a simple PDF
 viewer widget (which incorporates an add to journal button) using
 the evince-python bindings.
That's what I meant, I'll make a widget with a small toolbar which
embeds evince (libevview).

I do seem to have a problem with evince 2.30, they seem to have broken
their API. http://library.gnome.org/devel/libevview/2.30/

 Thanks,
 Sayamindu


 --
 Sayamindu Dasgupta
 [http://sayamindu.randomink.org/ramblings]

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel