[cairo-commit] src/cairo-pdf-surface.c

Adrian Johnson ajohnson at kemper.freedesktop.org
Sun Sep 9 02:41:40 PDT 2007


 src/cairo-pdf-surface.c |    2 --
 1 file changed, 2 deletions(-)

New commits:
diff-tree 897350c6c5cba29b8bd7890a33ecc4d7fa9b7795 (from 909e0be2416aa6833639439279583d1ae61777fc)
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Sun Sep 9 19:11:12 2007 +0930

    PDF: Remove BC entry from Smask dictionary
    
    The BC (background color) in the smask of the recently added
    cairo_mask() support was causing Ghostscript to crash due to the wrong
    number of BC values. The BC entry has been removed as BC default color
    is already what we want.

diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index 4d68282..f9c7224 100644
--- a/src/cairo-pdf-surface.c
+++ b/src/cairo-pdf-surface.c
@@ -1919,7 +1919,6 @@ cairo_pdf_surface_emit_transparency_grou
                                  "<< /Type /Mask\r\n"
                                  "   /S /Luminosity\r\n"
                                  "   /G %d 0 R\r\n"
-                                 "   /BC [ 0.0 ]\r\n"
                                  ">>\r\n"
                                  "endobj\r\n",
                                  smask_resource.id,
@@ -3855,7 +3854,6 @@ _cairo_pdf_surface_mask	(void			*abstrac
 				 "<< /Type /Mask\r\n"
 				 "   /S /Alpha\r\n"
 				 "   /G %d 0 R\r\n"
-				 "   /BC [ 0.0 ]\r\n"
 				 ">>\r\n"
 				 "endobj\r\n",
 				 smask.id,


More information about the cairo-commit mailing list