Article View: gnu.ghostscript.bug
Article #227Ghostscript core dump: a better fix
From: Hal Peterson
Date: Wed, 02 Aug 1989 17:47
Date: Wed, 02 Aug 1989 17:47
39 lines
2309 bytes
2309 bytes
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,
Technical Details
Message-ID:
<8908021747.AA03968@rothko.cray.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!boring.cray.com!hrpShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!boring.cray.com!hrp From: hrp@boring.cray.com (Hal Peterson) Newsgroups: gnu.ghostscript.bug Subject: Ghostscript core dump: a better fix Message-ID: <8908021747.AA03968@rothko.cray.com> Date: 2 Aug 89 17:47:00 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 39