epdfview-0.1.8-pictures.patch 584 B

1234567891011121314
  1. diff --git a/src/PDFDocument.cxx b/src/PDFDocument.cxx
  2. index df5d75f..782f806 100644
  3. --- a/src/PDFDocument.cxx
  4. +++ b/src/PDFDocument.cxx
  5. @@ -616,7 +616,7 @@ PDFDocument::renderPage (gint pageNum)
  6. #if defined (HAVE_POPPLER_0_17_0)
  7. cairo_surface_t *surface = cairo_image_surface_create_for_data (
  8. renderedPage->getData (),
  9. - CAIRO_FORMAT_RGB24, width, height,
  10. + CAIRO_FORMAT_ARGB32, width, height,
  11. renderedPage->getRowStride ());
  12. cairo_t *context = cairo_create (surface);
  13. cairo_save(context);