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/doc/man/man1/epstopdf.1 | 13 ++++++++----- Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf | Bin 27121 -> 30303 bytes Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf | Bin 27121 -> 30317 bytes Master/texmf-dist/scripts/epstopdf/epstopdf.pl | 19 +++++++++++-------- 4 files changed, 19 insertions(+), 13 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/man/man1/epstopdf.1 b/Master/texmf-dist/doc/man/man1/epstopdf.1 index fff723a0947..62ffbf6e632 100644 --- a/Master/texmf-dist/doc/man/man1/epstopdf.1 +++ b/Master/texmf-dist/doc/man/man1/epstopdf.1 @@ -1,5 +1,5 @@ .TH EPSTOPDF 1 "28 May 2016" -.\" $Id: epstopdf.1 41287 2016-05-28 18:09:45Z karl $ +.\" $Id: epstopdf.1 41288 2016-05-29 16:50:38Z karl $ .SH NAME epstopdf, repstopdf \- convert an EPS file to PDF .SH SYNOPSIS @@ -65,17 +65,20 @@ argument in the gs command (can be repeated). set AutoRotatePages (default: None); recognized \fIval\fP choices: None, All, PageByPage. For EPS files, PageByPage is equivalent to All. .IP "\fB--\fP[\fBno\fP]\fBcompress\fP" -use compression in the output (default: true). +use compression in the output (default: true); if turned off, passes +.IR -dUseFlateCompression=false . .IP "\fB--device\fP=\fIdev\fP" use -sDEVICE=\fIdev\fP (default: pdfwrite); not allowed in restricted mode. .IP "\fB--\fP[\fBno\fP]\fBembed\fP" -embed fonts (default: true). +embed fonts (default: true); passes +.I -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true. .IP "\fB--\fP[\fBno\fP]\fBgray\fP" -grayscale output (default: false). +grayscale output (default: false); passes +.I -sColorConversionStrategy=Gray -dProcessColorModel=/DeviceGray. .IP "\fB--pdfsettings\fP=\fIval\fP" use -dPDFSETTINGS=/\fIval\fP (default is `prepress' if \fB--embed\fP, else empty); recognized \fIval\fP choices: screen, ebook, printer, -repress, default. +prepress, default. .IP "\fB--\fP[\fBno\fP]\fBquiet\fP" use -q, a.k.a. -dQUIET (default: false). .IP "\fB--res\fP=\fIdpi, dpi\fPx\fIdpi\fP" diff --git a/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf b/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf index 1298ab4c4d2..061c1d0b933 100644 Binary files a/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf and b/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf differ diff --git a/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf b/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf index cde74dc203f..f999cd3b75c 100644 Binary files a/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf and b/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf differ 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