From 43df0191bdb0b8a6a3a9ba071c7ce631fc2c96bb Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 7 Aug 2005 12:59:26 +0000 Subject: [PATCH] Upgraded ImageMagick on cirkus, so no problems with PDF output from ImageMagick anymore. --- createpdf.pl | 2 +- index.html | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/createpdf.pl b/createpdf.pl index 34cd9f4..8bece1c 100755 --- a/createpdf.pl +++ b/createpdf.pl @@ -70,7 +70,7 @@ if ($filename =~ /(.*)\.(?:e?ps|pdf)$/i) { $outname = "$1.pdf"; # Run through ImageMagick first of all, then gs - open PIPE, "| convert $2:- ps:- | gs $pdfopts -dCompatbilityLevel=1.4 -dNOPAUSE -dPATCH -sDEVICE=pdfwrite -dSAFER -sOutputFile=output/$pdf_filename -c '.setpdfwrite $psopts' -f - >&2" + open PIPE, "| convert $2:- pdf:- | gs $pdfopts -dCompatbilityLevel=1.4 -dNOPAUSE -dPATCH -sDEVICE=pdfwrite -dSAFER -sOutputFile=output/$pdf_filename -c '.setpdfwrite $psopts' -f - >&2" or die "convert: $!"; my ($buf, $ret); diff --git a/index.html b/index.html index fbc5ed0..beb72c8 100644 --- a/index.html +++ b/index.html @@ -80,9 +80,7 @@