This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: I cannot read a pdf file with gv
- From: Eric Hanchrow <offby1 at blarg dot net>
- To: cygwin-xfree at cygwin dot com
- Date: Thu, 18 Mar 2004 14:34:13 -0800
- Subject: Re: I cannot read a pdf file with gv
- References: <1079640666.8502.25.camel@pcphad.ac.upc.es>
- Reply-to: cygwin-xfree at cygwin dot com
>>>>> "RM" == R Manitra <rmanitra@ac.upc.es> writes:
RM> Actually, when I try to view pdf file I got a dialog box pops
RM> up with the following error message:
I just had a similar problem -- I couldn't open certain PDF documents
with gv. (I was able to open them with no trouble with xpdf, but I
don't remember if Cygwin includes that program.) I don't know if my
problem is the same as yours, but in any case, here's what I learned:
There are a number of different versions of the PDF standard, and
apparently GhostScript can only deal with some of them. I found that
it worked just fine with version 1.3, but couldn't open version 1.5 (I
never tried version 1.4).
You can see which version your file is by simply running the `file'
command, like this:
$ file doc.pdf
doc.pdf: PDF document, version 1.3
$
--
Always code as if the guy who ends up maintaining your code will
be a violent psychopath who knows where you live. John F. Woods