This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: I cannot read a pdf file with gv


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]