On Sat, Mar 14, 2015 at 10:41:08PM +0100, Tim Tassonis wrote: > diff -ru epdfview-0.1.8/src/PDFDocument.cxx > epdfview-0.1.8-fixed/src/PDFDocument.cxx > --- epdfview-0.1.8/src/PDFDocument.cxx 2015-03-14 22:39:43.283289391 > +0100 > +++ epdfview-0.1.8-fixed/src/PDFDocument.cxx 2015-03-14 22:37:50.241067883 > +0100 > @@ -635,7 +635,7 @@ > #if defined (HAVE_POPPLER_0_17_0) > cairo_surface_t *surface = cairo_image_surface_create_for_data ( > renderedPage->getData (), > - CAIRO_FORMAT_RGB24, width, height, > + CAIRO_FORMAT_ARGB32, width, height, > renderedPage->getRowStride ()); > cairo_t *context = cairo_create (surface); > cairo_save(context);
Thanks for the patch. I was ready to start tearing apart libtiff, libjpeg, libopenjpeg, and libpng assuming that at least one of these was not functioning properly. I thought it may have even been with Poppler since I just compiled epdfview against 0.32.0 which was released last week. I'm glad to see it was a simple fix. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
