[poppler] poppler/glib: poppler-page.cc,1.28.2.1,1.28.2.2

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


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

Modified Files:
      Tag: POPPLER_0_4_X
	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.28.2.1
retrieving revision 1.28.2.2
diff -u -d -r1.28.2.1 -r1.28.2.2
--- poppler-page.cc	29 Jul 2005 05:57:59 -0000	1.28.2.1
+++ poppler-page.cc	1 Aug 2005 15:07:42 -0000	1.28.2.2
@@ -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