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 > [email protected] > https://mail.gnome.org/mailman/listinfo/gtkmm-list -- Murray Cumming [email protected] www.murrayc.com _______________________________________________ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list
