blob: 5c42cb266003709d0c13c2f6fce36bdc50571485 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/src/PDFDocument.cxx b/src/PDFDocument.cxx
index df5d75f..782f806 100644
--- a/src/PDFDocument.cxx
+++ b/src/PDFDocument.cxx
@@ -616,7 +616,7 @@ PDFDocument::renderPage (gint pageNum)
#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);
|