producing spurious characters in PS output when using the bitmap cache
    (Originally reported against Solaris Xprt as Sun bug id #4369307, and
    fixed in Solaris by Jay Hobson.
This commit is contained in:
Roland Mainz 2004-10-04 05:34:32 +00:00
parent 658b4ed81f
commit 75217be88c

View File

@ -1448,14 +1448,16 @@ PsOut_EndImage(PsOutPtr self)
self->RevImage = 0;
return;
}
/*
* Bug 4639307: Move flush before "> im" to get all of bitmap into ps file.
*/
S_Flush(self);
#ifdef BM_CACHE
if(self->start_image)
S_OutTok(self, "> im", 1); /* new */
#endif
self->ImageFormat = 0;
self->RevImage = 0;
S_Flush(self);
#ifdef BM_CACHE
if(self->start_image)
{