Bug 153700 - kghostview-ghostscript 8.61 pipe problem
Summary: kghostview-ghostscript 8.61 pipe problem
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-08 23:56 UTC by S. Umar
Modified: 2012-10-18 05:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
File with viewing problems (330.76 KB, application/postscript)
2007-12-08 23:58 UTC, S. Umar
Details
Small patch that fixes the viewing problem (519 bytes, patch)
2007-12-08 23:59 UTC, S. Umar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. Umar 2007-12-08 23:56:56 UTC
Version:           0.20 (kde 3.5.8) (using KDE KDE 3.5.8)
Installed from:    Fedora RPMs
Compiler:          gcc-4.2.1 
OS:                Linux

Certain files fail to open with kghostview when using ghostscript-8.61. The
problem seems to be related to a change in piping for gs-8.61. See,

    http://bugs.ghostscript.com/show_bug.cgi?id=689577

I shall attach a file that has this problem with kghostview. I am not really
an expert in this but the attached patch seems to be a remedy.

I have not tested printing from kghostview. If the feed to ghostscript
contains - it needs to be replaced by -_.
Thanks
Comment 1 S. Umar 2007-12-08 23:58:22 UTC
Created attachment 22419 [details]
File with viewing problems
Comment 2 S. Umar 2007-12-08 23:59:20 UTC
Created attachment 22420 [details]
Small patch that fixes the viewing problem
Comment 3 S. Umar 2007-12-09 17:44:37 UTC
A patch was committed to ghostscript trunk to solve this problem and it does.
However, the above patch still works and may protect from future ghostscript
changes to the buffer value.
Comment 4 S. Umar 2007-12-10 16:46:20 UTC
Ghostscript people are recommending to keep the "-_" replacement because
they say it is more efficient piping and may prevent future problems.
Comment 5 Adrián Chaves (Gallaecio) 2012-10-18 05:58:23 UTC
Fixed in Ghostscript as stated above.