[gs-cvs] Improving log message for rev 8386 - trunk/gs/src
Leonardo
leonardo at artifex.com
Mon Nov 19 13:20:27 PST 2007
The log message has been edited as this :
[beg quote]
Fix (transparency) : Wrong background color of a soft mask group.
DETAILS :
Bug 689531 "Regression: PDF file has undesired extra gray object.".
The old code used the 0th component of the background color
instead its gray equivalent. The bug was introduced when
working on bug 687176.
EXPECTED DIFFERENCES :
None (comparefiles don't include a test for it).
[end quote]
----- Original Message -----
From: <leonardo at ghostscript.com>
To: <gs-cvs at ghostscript.com>
Sent: Monday, November 19, 2007 11:36 PM
Subject: [gs-cvs] rev 8386 - trunk/gs/src
> Author: leonardo
> Date: 2007-11-19 12:36:07 -0800 (Mon, 19 Nov 2007)
> New Revision: 8386
>
> Modified:
> trunk/gs/src/gdevp14.c
> Log:
> Fix (transparency) : Wrong background color of a soft mack group.
>
> DETAILS :
>
> Bug 689531 "Regression: PDF file has undesired extra gray object.".
>
> The old code used the 0th component of the background color
> instead its gray equivalent. The bug was introduced when
> working on bug 687176.
>
> EXPECTED DIFFERENCES :
>
> None (comparefiles don't include a test for it; to be added after closing
> the bug).
>
>
> Modified: trunk/gs/src/gdevp14.c
> ===================================================================
> --- trunk/gs/src/gdevp14.c 2007-11-19 20:29:19 UTC (rev 8385)
> +++ trunk/gs/src/gdevp14.c 2007-11-19 20:36:07 UTC (rev 8386)
> @@ -2240,7 +2240,7 @@
> "pdf14_push_transparency_mask");
>
> if (ptmp->Background_components)
> - bg_alpha = (int)(255 * ptmp->Background[0] + 0.5);
> + bg_alpha = (int)(255 * ptmp->GrayBackground + 0.5);
> if_debug1('v', "begin transparency mask, bg_alpha = %d\n", bg_alpha);
> memcpy(transfer_fn, ptmp->transfer_fn, size_of(ptmp->transfer_fn));
> return pdf14_push_transparency_mask(pdev->ctx, &pdev->ctx->rect,
> bg_alpha,
>
> _______________________________________________
> gs-cvs mailing list
> gs-cvs at ghostscript.com
> http://www.ghostscript.com/mailman/listinfo/gs-cvs
More information about the gs-cvs
mailing list