[poppler] How to use poppler, to display PDF file in lesstif based application?

2007-11-01 Thread Manuel Reimer
Hello, is it possible to display a PDF file in an lesstif based application? If so: Which API would I have to use and where can I find the required documentation? Thanks in advance CU Manuel ___ poppler mailing list poppler@lists.freedesktop.org

Re: [poppler] How to use poppler, to display PDF file in lesstif based application?

2007-11-01 Thread Dominic Lachowicz
Hi Manuel, Using the poppler-glib API, you can render a PopplerPage to a GdkPixbuf or to a cairo_t. A GdkPixbuf is just an RGBA image that you can blit onto an X11 Drawable. If you want to use cairo, you can create a cairo surface using the lesstif widget's X11 Drawable, and then render onto the