Commit 5f7bd81b authored by Kristian Høgsberg's avatar Kristian Høgsberg

2005-08-01 Kristian Høgsberg <krh@redhat.com>

        Patch from Dan Winship <danw@novell.com>

        * glib/poppler-page.cc (poppler_page_copy_to_pixbuf): Set alpha to
        0xff (opaque), not 0x00.
parent 22f509e6
2005-08-01 Kristian Høgsberg <krh@redhat.com>
Patch from Dan Winship <danw@novell.com>
* glib/poppler-page.cc (poppler_page_copy_to_pixbuf): Set alpha to
0xff (opaque), not 0x00.
2005-08-01 Brad Hards <bradh@frogmouth.net> 2005-08-01 Brad Hards <bradh@frogmouth.net>
* poppler/ArthurOutputDev.cc: Fix up the fill problem with * poppler/ArthurOutputDev.cc: Fix up the fill problem with
......
...@@ -315,7 +315,7 @@ poppler_page_copy_to_pixbuf(PopplerPage *page, ...@@ -315,7 +315,7 @@ poppler_page_copy_to_pixbuf(PopplerPage *page,
dst[1] = splashRGB8G(*src); dst[1] = splashRGB8G(*src);
dst[2] = splashRGB8B(*src); dst[2] = splashRGB8B(*src);
if (pixbuf_n_channels == 4) if (pixbuf_n_channels == 4)
dst[3] = 0; dst[3] = 0xff;
dst += pixbuf_n_channels; dst += pixbuf_n_channels;
src++; src++;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment