From 94626ee0ec44f738d36151189f2e0ef4327d91b7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 3 Jul 2016 20:44:04 +0000 Subject: epstopdf git-svn-id: svn://tug.org/texlive/trunk@41607 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/epstopdf/epstopdf.pl | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/scripts/epstopdf') diff --git a/Master/texmf-dist/scripts/epstopdf/epstopdf.pl b/Master/texmf-dist/scripts/epstopdf/epstopdf.pl index f1cc7fba400..2b5657e2138 100755 --- a/Master/texmf-dist/scripts/epstopdf/epstopdf.pl +++ b/Master/texmf-dist/scripts/epstopdf/epstopdf.pl @@ -1,5 +1,5 @@ #!/usr/bin/env perl -# $Id: epstopdf.pl 41287 2016-05-28 18:09:45Z karl $ +# $Id: epstopdf.pl 41577 2016-06-30 16:38:01Z karl $ # (Copyright lines below.) # # Redistribution and use in source and binary forms, with or without @@ -37,9 +37,10 @@ my $ver = "2.25"; # History -# 2016/06/16 v2.25 (Norbert Preining) -# * fix device handling -# 2016/05/28 v2.24 (Karl Berry) +# 2016/06/30 v2.25 (Norbert Preining, Karl Berry) +# * don't set (default) device until after restricted check. +# * a few more debugging lines. +# 2016/05/29 v2.24 (Karl Berry) # * new option --gray; patch from William Bader, # tex-k mail 9 Feb 2016 19:37:08. # * disallow --device completely in restricted mode, @@ -179,9 +180,9 @@ my $ver = "2.25"; ### emacs-page ### program identification my $program = "epstopdf"; -my $ident = '($Id: epstopdf.pl 41287 2016-05-28 18:09:45Z karl $)' . " $ver"; +my $ident = '($Id: epstopdf.pl 41577 2016-06-30 16:38:01Z karl $)' . " $ver"; my $copyright = < @@ -586,7 +587,7 @@ if ($::opt_res and $::opt_res = ''; } push @GS, "-r$::opt_res" if $::opt_res; -$resmsg= $::opt_res ? $::opt_res : "[use gs default]"; +$resmsg = $::opt_res ? $::opt_res : "[use gs default]"; # \label{val_autorotate} if ($::opt_autorotate and @@ -646,8 +647,10 @@ if ($::opt_gs) { debug "Ghostscript command:", $GS; debug "Compression:", ($::opt_compress) ? "on" : "off"; debug "Embedding:", ($::opt_embed) ? "on" : "off"; - debug "Rotation:", $rotmsg; + debug "Grayscale:", ($::opt_gray) ? "on" : "off"; + debug "PDFSettings:", $::opt_pdfsettings; debug "Resolution:", $resmsg; + debug "Rotation:", $rotmsg; } ### emacs-page -- cgit v1.2.3