hrp@boring.cray.com (Hal Peterson) (08/03/89)
From L. Peter Deutsch, ghost@aladdin.com:
The apparent problem that this fixes is that image_set_gray wasn't
getting called for pure white or pure black when displaying an image
with an irregular clipping region (or in various other cases that
force Ghostscript into its 'slow' image rendering mode).
And he's right, his fix (shown in the following diff) is the REAL fix
for the problem with mooreform.ps. Please discard the one I sent out
yesterday: it is bogus, as I suspected.
--
Hal Peterson Domain: hrp@cray.com
Cray Research Old style: hrp%cray.com@uc.msc.umn.edu
1440 Northland Dr. UUCP: uunet!cray!hrp
Mendota Hts, MN 55120 USA Telephone: +1 612 681 3145
========================================================================
*** gsimage-DIST.c Wed Jul 5 17:41:41 1989
--- gsimage.c Wed Aug 2 12:20:35 1989
***************
*** 401,409 ****
else if ( run == 255 )
{ if ( one == gx_no_color_index ) goto trans;
}
! else
! { image_set_gray(run);
! }
}
gx_path_init(ppath, &pgs->memory_procs);
code = gx_path_add_pgram(ppath,
--- 401,407 ----
else if ( run == 255 )
{ if ( one == gx_no_color_index ) goto trans;
}
! image_set_gray(run);
}
gx_path_init(ppath, &pgs->memory_procs);
code = gx_path_add_pgram(ppath,