Jeff Abrahamson on 3 Aug 2004 15:33:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] PDF weirdness


Given a file /tmp/foo.pdf, I find, having cd'd into /tmp, that

    $ gv foo.pdf            # works fine

    $ gv /tmp/foo.pdf       # fails, postscript interpretation error

I'm using gv 3.5.8 (debian), debian sarge.

Diffing the files, the difference is one line for a file called stspchap.pdf:

  jeff@asterix:tmp $ diff gv_410fad36_1_stspchap.pdf.tmp gv_410fad1f_1_stspchap.pdf.tmp
  16c16
  < (stspchap.pdf) (r) file { DELAYSAFER { .setsafe } if } stopped pop
  ---
  > (/tmp/stspchap.pdf) (r) file { DELAYSAFER { .setsafe } if } stopped pop
  jeff@asterix:tmp $ 

Any ideas what's going on?

This comes up when viewing pdf's via mozilla or mutt.  (Clearly a
wrapper script could get around this, of course.)

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>    215/837-2287
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

 A cool book of games, highly worth checking out:
 http://www.amazon.com/exec/obidos/ASIN/1931686963/purple-20

Attachment: signature.asc
Description: Digital signature