paul.sz...@sydney.edu.au schrieb:
Yes that is what I do:

#!/usr/bin/perl --
#...
$c = $0;
$c =~ s/.*\///;
exec "/usr/bin/$c", '-P-', '-dSAFER', @ARGV;

and my testing suggested it breaks gv.
Well, the DSC parsing seems to be "-dSAFER"-incompatible. But with the following settings I can open ps and pdf files - and pdf to postscript conversion has sucessfully been tested on an example.

$ cat .gv
GV.gsArguments:         -P- -dFIXEDMEDIA
GV.antialias:           False
GV.infoVerbose:         All
GV.gsInterpreter:       gs
!GV.saveposFilename:    ~/test.gv
GV*international:               False
GV.version:             gv 3.6.7.90

GV.gsCmdConvPDF: gs -P- -dSAFER -dNOPAUSE -dQUIET -dBATCH -sDEVICE=pswrite -sOutputFile=%s -f %s -c save pop quit GV.gsCmdScanPDF: gs -P- -dNODISPLAY -dQUIET -sPDFname=%s -sDSCname=%s %s pdf2dsc.ps -c quit



So "-P-" may work with GNU gv - but some testing would help before changing the defaults.

BTW: I have done my test with ghostscript 8.71.


Greetings from Germany

Markus Steinborn
GNU gv maintainer




--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to