diff options
author | Norbert Preining <preining@logic.at> | 2016-06-16 00:36:35 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2016-06-16 00:36:35 +0000 |
commit | 119f04d404a02193a5f14076d2d918ab082d6fc6 (patch) | |
tree | c5292345ac029a9ad12da5a80b14111fb14135a9 /Master | |
parent | 7e1a634d4e5d9bd1e33c657ca6dc1d0cbceea3de (diff) |
fix epstopdf
git-svn-id: svn://tug.org/texlive/trunk@41457 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/texmf-dist/scripts/epstopdf/epstopdf.pl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/epstopdf/epstopdf.pl b/Master/texmf-dist/scripts/epstopdf/epstopdf.pl index 697127cdff5..f1cc7fba400 100755 --- a/Master/texmf-dist/scripts/epstopdf/epstopdf.pl +++ b/Master/texmf-dist/scripts/epstopdf/epstopdf.pl @@ -34,9 +34,11 @@ # "%%BoundingBox: (atend)" when input is not seekable (e.g., from a pipe), # # emacs-page -my $ver = "2.24"; +my $ver = "2.25"; # History +# 2016/06/16 v2.25 (Norbert Preining) +# * fix device handling # 2016/05/28 v2.24 (Karl Berry) # * new option --gray; patch from William Bader, # tex-k mail 9 Feb 2016 19:37:08. @@ -205,7 +207,7 @@ my $default_device = 'pdfwrite'; $::opt_autorotate = "None"; $::opt_compress = 1; $::opt_debug = 0; -$::opt_device = $default_device; +$::opt_device = ""; $::opt_embed = 1; $::opt_exact = 0; $::opt_filter = 0; @@ -360,7 +362,7 @@ Options for Ghostscript: recognized VAL choices: None, All, PageByPage; for EPS files, PageByPage is equivalent to All. --(no)compress use compression (default: $bool[$::opt_compress]) - --device=DEV use -sDEVICE=DEV (default: $::opt_device) + --device=DEV use -sDEVICE=DEV (default: $default_device) --(no)embed embed fonts (default: $bool[$::opt_embed]) --(no)gray grayscale output (default: $bool[$::opt_gray]) --pdfsettings=VAL use -dPDFSETTINGS=/VAL (default is prepress if --embed, @@ -527,7 +529,10 @@ if ($::opt_device) { } else { debug "Switching from $default_device to $::opt_device"; } +} else { + $::opt_device = $default_device; } + push @GS, "-sDEVICE=$::opt_device"; ### option outfile |