[poppler] poppler/glib: poppler-page.cc,1.29,1.30

Kristian Hogsberg krh at freedesktop.org
Tue Aug 2 01:21:21 EST 2005


Update of /cvs/poppler/poppler/glib
In directory gabe:/tmp/cvs-serv16479/glib

Modified Files:
	poppler-page.cc 
Log Message:
2005-08-01  Kristian Høgsberg  <krh at redhat.com>

        Patch from Dan Winship <danw at novell.com>

        * glib/poppler-page.cc (poppler_page_copy_to_pixbuf): Set alpha to
        0xff (opaque), not 0x00.


Index: poppler-page.cc
===================================================================
RCS file: /cvs/poppler/poppler/glib/poppler-page.cc,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- poppler-page.cc	29 Jul 2005 05:48:33 -0000	1.29
+++ poppler-page.cc	1 Aug 2005 15:21:19 -0000	1.30
@@ -315,7 +315,7 @@
 	  dst[1] = splashRGB8G(*src); 
 	  dst[2] = splashRGB8B(*src);
 	  if (pixbuf_n_channels == 4)
-	    dst[3] = 0;
+	    dst[3] = 0xff;
 	  dst += pixbuf_n_channels;
 	  src++;
 	}



More information about the poppler mailing list