Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 186938

Summary: app-text/ghostscript-esp - gs produces wrong output when use pipes
Product: Gentoo Linux Reporter: Immo 'FaUl' Wehrenberg <immo.gentoo>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 261434    
Bug Blocks:    

Description Immo 'FaUl' Wehrenberg 2007-07-28 21:58:54 UTC
while
gs -q -dSAFER=true -sPAPERSIZE=a4 -dNOPAUSE -sOutputFile=- -sDEVICE=tiffg3 -dBATCH amokformular.pdf > amok2.tiff
produces absolute perfect output, the output from
gs -q -dSAFER=true -sPAPERSIZE=a4 -dNOPAUSE -sOutputFile=- -sDEVICE=tiffg3 -dBATCH 
amokformular.pdf | cat > amok2.tiff
is broken. The same happens at least with python and tee, i did not try out other programms. The output differs very little, but enough to break everything. I have no idea what this can cause (upstream?). 

Reproducible: Always

Steps to Reproduce:
use 
gs -q -dSAFER=true -sPAPERSIZE=a4 -dNOPAUSE -sOutputFile=- -sDEVICE=tiffg3 -dBATCH  <File>.pdf | cat > <name>.tiff and gs -q -dSAFER=true -sPAPERSIZE=a4 -dNOPAUSE -sOutputFile=- -sDEVICE=tiffg3 -dBATCH <File>.pdf > <name>.tiff 
and compare the output.
Actual Results:  
output-files differ

Expected Results:  
output-files should be the same
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-07-29 06:57:04 UTC
Which ghostscript implementation and version is this about?
Comment 2 Immo 'FaUl' Wehrenberg 2007-07-29 10:18:36 UTC
this behaviour is at least seen on on ghostscript-esp-8.15.3 and ghostscript-esp-8.15.4
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2009-05-26 06:12:17 UTC
ghostscript-esp was removed from the tree.