Re: Fix for 687474, Damaged pdf files won't display with Ghostscript

"Igor V. Melichev" <[email protected]> Wed, 26 May 2004 16:29:24 +0400
Newsgroups gmane.comp.printing.ghostscript.patches
Message-ID <[email protected]>
> From: "Alex Cherepanov" <[email protected]>
> To: "Igor V. Melichev" <[email protected]>
> Cc: <[email protected]>
> Sent: Wednesday, May 26, 2004 3:51 PM
> Subject: Re: Fix for 687474, Damaged pdf files won't display with Ghostscript xefitra


> Igor V. Melichev wrote:
> 
> > Your logic looks good.
> > Could you please do that with no 'bytesavailable' ?
> This cannot be done. How can one read the last 1K block
> of a PDF file without knowing its size.

OK, please commit.

> PDF file cannot be read from pipes because PDF requires direct access
> to the file. 

This depends on the implementation of pipes, right ?
As I know, an old GS on Windows occasionally could read PDF from '<'.
This feature was lost about two years ago.

Igor.