I now support eps output

This commit is contained in:
Dima Kogan 2011-01-03 17:11:02 -08:00
parent b684dc3dd4
commit 3ec5e7a417

View File

@ -308,11 +308,12 @@ sub mainThread
if( $options{hardcopy})
{
$outputfile = $options{hardcopy};
($outputfileType) = $outputfile =~ /\.(ps|pdf|png)$/;
if(!$outputfileType) { die("Only .ps, .pdf and .png supported\n"); }
($outputfileType) = $outputfile =~ /\.(eps|ps|pdf|png)$/;
if(!$outputfileType) { die("Only .eps, .ps, .pdf and .png supported\n"); }
my %terminalOpts =
( ps => 'postscript solid color landscape 10',
( eps => 'postscript solid color eps 10',
ps => 'postscript solid color landscape 10',
pdf => 'pdfcairo solid color font ",10" size 11in,8.5in',
png => 'png size 1280,1024' );