[gs-cvs] rev 8617 - trunk/gs/src
alexcher at ghostscript.com
alexcher at ghostscript.com
Mon Mar 31 17:28:18 PDT 2008
Author: alexcher
Date: 2008-03-31 17:28:17 -0700 (Mon, 31 Mar 2008)
New Revision: 8617
Modified:
trunk/gs/src/gdevps.c
Log:
Fix incorrect scanline length calculation in 1 bit/component images on pswrite
and epswrite devices. The bug was introduced in rev. 8233.
Bug 689771, customer 73.
DIFFERENCES:
None
Modified: trunk/gs/src/gdevps.c
===================================================================
--- trunk/gs/src/gdevps.c 2008-03-31 23:53:28 UTC (rev 8616)
+++ trunk/gs/src/gdevps.c 2008-04-01 00:28:17 UTC (rev 8617)
@@ -1622,7 +1622,7 @@
return_error(gs_error_rangecheck);
psw_put_bits(pdev->image_stream,
planes[pi].data,
- planes[pi].data_x*info->plane_depths[pi] + pie->bits_per_row*j,
+ planes[pi].data_x*info->plane_depths[pi] + planes[pi].raster*j*8,
planes[pi].raster,
pie->bits_per_row,
1 );
More information about the gs-cvs
mailing list