]> www.fi.muni.cz Git - evince.git/blobdiff - backend/pdf/ev-poppler.cc
Use CAIRO_FORMAT_RGB24 instead of CAIRO_FORMAT_ARGB32 when creating page
[evince.git] / backend / pdf / ev-poppler.cc
index 38a01fd49679f8fe81d2383a82347fb38133dbd7..8af07fd4fdb8f3a4a63c8850a7f74323334ecffd 100644 (file)
@@ -500,7 +500,7 @@ pdf_document_render (EvDocument      *document,
 #ifdef HAVE_POPPLER_PAGE_RENDER
        cairo_t *cr;
        
-       surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
+       surface = cairo_image_surface_create (CAIRO_FORMAT_RGB24,
                                              width, height);
        memset (cairo_image_surface_get_data (surface), 0xff,
                cairo_image_surface_get_height (surface) *