[gs-commits] ghostpdl branch, master, updated. ghostpdl-9.02-1033-gaa9f730
Ray Johnston
ray at ghostscript.com
Thu Mar 29 04:19:24 UTC 2012
The ghostpdl branch, master has been updated
via aa9f730f07f8d471c222956e6a532ab2698ef58e (commit)
from a1075141f25f7bf38bf372f9ccc65dfd9c0c8baa (commit)
----------------------------------------------------------------------
commit aa9f730f07f8d471c222956e6a532ab2698ef58e
Author: Ray Johnston <ray.johnston at artifex.com>
Date: Wed Mar 28 13:52:27 2012 -0700
Fix bug 692688: pdf14_copy_alpha did not move the source data pointer when adjusting for y<rect.p.y
The pdf14_copy_alpha doesn't use the 'fit_copy' macro since that macro has specific variables
embedded, but the when the 'h' and 'y' are adjusted, the source data pointer needs to move to
the first line that will be used.
diff --git a/gs/base/gdevp14.c b/gs/base/gdevp14.c
index f715bd1..bb82d33 100644
--- a/gs/base/gdevp14.c
+++ b/gs/base/gdevp14.c
@@ -2074,6 +2074,7 @@ pdf14_copy_alpha(gx_device * dev, const byte * data, int data_x,
}
if (y < buf->rect.p.y) {
h += y - buf->rect.p.y;
+ aa_row -= (y - buf->rect.p.y) * aa_raster;
y = buf->rect.p.y;
}
if (x + w > buf->rect.q.x) w = buf->rect.q.x - x;
Summary of changes:
gs/base/gdevp14.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
More information about the gs-commits
mailing list