summaryrefslogtreecommitdiff
path: root/libre/epdfview/epdfview-0.1.8-pictures.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/epdfview/epdfview-0.1.8-pictures.patch')
-rw-r--r--libre/epdfview/epdfview-0.1.8-pictures.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/epdfview/epdfview-0.1.8-pictures.patch b/libre/epdfview/epdfview-0.1.8-pictures.patch
new file mode 100644
index 000000000..5c42cb266
--- /dev/null
+++ b/libre/epdfview/epdfview-0.1.8-pictures.patch
@@ -0,0 +1,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);