diff options
author | Roland Mainz <roland.mainz@nrubsig.org> | 2004-12-13 06:35:36 +0000 |
---|---|---|
committer | Roland Mainz <roland.mainz@nrubsig.org> | 2004-12-13 06:35:36 +0000 |
commit | 02f760a84d6ee0c862c7cd56906729816527e27c (patch) | |
tree | d51f2c9ed84809a2179338ec45ccfba821532528 | |
parent | e81dcbbc7c350343213f18fea71ecb3f361e3ed5 (diff) |
//freedesktop.org/bugzilla/show_bug.cgi?id=661) attachment #1002
(https://bugs.freedesktop.org/attachment.cgi?id=1002): 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 <jay.hobson@sun.com>). Patch by Jay
Hobson <jay.hobson@sun.com>.
-rw-r--r-- | Xprint/ps/psout.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Xprint/ps/psout.c b/Xprint/ps/psout.c index f156ce81f..0f5ed2e02 100644 --- a/Xprint/ps/psout.c +++ b/Xprint/ps/psout.c @@ -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) { |