Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=661 - Xprt
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:
parent
658b4ed81f
commit
75217be88c
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue