Re: display PDF in gtkmm app
- From: Murray Cumming <murrayc murrayc com>
- To: Kasper Peeters <kasper peeters phi-sci com>
- Cc: gtkmm-list gnome org
- Subject: Re: display PDF in gtkmm app
- Date: Sat, 26 Sep 2015 12:07:27 +0200
I use libevince-view (evince-view-3.0 with pkg-config) for PDFs and
other "image" files, falling back to a regular Gtk::Image when libeeview
can't handle it.
https://developer.gnome.org/libevview/stable/
My code in Glom isn't pretty, but it works:
https://git.gnome.org/browse/glom/tree/glom/utility_widgets/imageglom.cc#n321
On Fri, 2015-09-25 at 11:15 +0100, Kasper Peeters wrote:
Hi,
I need to display small PDF files inside a gtkmm app. These are
single-page documents, and I just want to display the cropped content
of those documents. What's the recommended way to do this? Has anyone
written a simple C++ wrapper around libevince or poppler to make this
kind of thing easy?
Cheers,
Kasper
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]