summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-09-17 21:02:15 +0000
committerKarl Berry <karl@freefriends.org>2018-09-17 21:02:15 +0000
commitc534f509d61c29eafdd2e650cd50caac0143f34a (patch)
treed3bbd1875e8aa7dbad3e3674180c2bbae1130017
parent839cea270b4b05f8a4d8afefd1d73d284e6cb6bb (diff)
epstopdf (17sep18)
git-svn-id: svn://tug.org/texlive/trunk@48684 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl14
-rw-r--r--Master/texmf-dist/doc/man/man1/epstopdf.114
-rw-r--r--Master/texmf-dist/doc/man/man1/epstopdf.man1.pdfbin9997 -> 30996 bytes
-rw-r--r--Master/texmf-dist/doc/man/man1/repstopdf.man1.pdfbin9997 -> 30996 bytes
-rwxr-xr-xMaster/texmf-dist/scripts/epstopdf/epstopdf.pl14
5 files changed, 31 insertions, 11 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl b/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl
index 3caf2238a80..5a9567615ab 100755
--- a/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl
+++ b/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl
@@ -1,5 +1,5 @@
#!/usr/bin/env perl
-# $Id: epstopdf.pl 45306 2017-09-14 21:41:37Z karl $
+# $Id: epstopdf.pl 48681 2018-09-16 23:03:58Z karl $
# (Copyright lines below.)
#
# Redistribution and use in source and binary forms, with or without
@@ -35,7 +35,9 @@
#
# emacs-page
#
-my $ver = "2.27";
+my $ver = "2.28";
+# 2018/09/17 v2.28 (Karl Berry)
+# * -dCompatibilityLevel=1.5 by default, since gs9.25 switched to 1.7.
# 2017/09/14 v2.27 (Karl Berry)
# * extract value from --gsopt with $3 not $2 (extra regexp group
# added previously), and check it with ^(...)$ so anchors apply to all.
@@ -187,9 +189,9 @@ my $ver = "2.27";
### emacs-page
### program identification
my $program = "epstopdf";
-my $ident = '($Id: epstopdf.pl 45306 2017-09-14 21:41:37Z karl $)' . " $ver";
+my $ident = '($Id: epstopdf.pl 48681 2018-09-16 23:03:58Z karl $)' . " $ver";
my $copyright = <<END_COPYRIGHT ;
-Copyright 2009-2017 Karl Berry et al.
+Copyright 2009-2018 Karl Berry et al.
Copyright 2002-2009 Gerben Wierda et al.
Copyright 1998-2001 Sebastian Rahtz et al.
License RBSD: Revised BSD <http://www.xfree86.org/3.3.6/COPYRIGHT2.html#5>
@@ -348,6 +350,9 @@ replaced by ".pdf". An output name ending with .pdf can also be given
as a second argument on the command line, or the --outfile (-o) option
can be used with any name.
+The output is PDF 1.5 by default; use --gsopt=-dCompatibilityLevel=1.7
+(for example) to change this.
+
The resulting output is guaranteed to start at the 0,0 coordinate, and
sets a page size exactly corresponding to the BoundingBox. Thus, the
result does not need any cropping, and the PDF MediaBox is correct.
@@ -550,6 +555,7 @@ push @GS, '-q' if $::opt_quiet;
push @GS, $::opt_safer ? '-dSAFER' : '-dNOSAFER';
push @GS, '-dNOPAUSE';
push @GS, '-dBATCH';
+push @GS, '-dCompatibilityLevel=1.5';
### option device
if ($::opt_device) {
diff --git a/Master/texmf-dist/doc/man/man1/epstopdf.1 b/Master/texmf-dist/doc/man/man1/epstopdf.1
index b634ebb47ee..3e64f1ab723 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 "7 January 2017"
-.\" $Id: epstopdf.1 42895 2017-01-08 00:10:22Z karl $
+.TH EPSTOPDF 1 "17 September 2018"
+.\" $Id: epstopdf.1 48681 2018-09-16 23:03:58Z karl $
.SH NAME
epstopdf, repstopdf \- convert an EPS file to PDF
.SH SYNOPSIS
@@ -19,6 +19,14 @@ replaced by \fB.pdf\fP. An output name ending with .pdf can also be given
as a second argument on the command line, or the \fB--outfile\fP
(\fB-o\fP) option can be used with any name.
.PP
+The output is PDF 1.5 by default; use, e.g.,
+.nf
+--gsopt=-dCompatibilityLevel=1.7
+.fi
+to change this. (Until epstopdf 2.28 (released September 2018), the
+PDF version was whatever the underlying Ghostscript or other interpreter
+produced by default.)
+.PP
PJL commands at the start of a file are removed. DOS EPS binary files
(TN 5002) are supported.
.PP
@@ -151,4 +159,4 @@ Man page originally written by Jim Van Zandt.
.PP
epstopdf home page: http://tug.org/epstopdf.
.PP
-You may freely use, modify and/or distribute this file.
+You may freely use, modify and/or distribute this man page.
diff --git a/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf b/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf
index da0b260d162..68b98398ebd 100644
--- a/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf
+++ b/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf b/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf
index fc5e2cacbd7..866673b36f2 100644
--- a/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf
+++ b/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf
Binary files differ
diff --git a/Master/texmf-dist/scripts/epstopdf/epstopdf.pl b/Master/texmf-dist/scripts/epstopdf/epstopdf.pl
index 3caf2238a80..5a9567615ab 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 45306 2017-09-14 21:41:37Z karl $
+# $Id: epstopdf.pl 48681 2018-09-16 23:03:58Z karl $
# (Copyright lines below.)
#
# Redistribution and use in source and binary forms, with or without
@@ -35,7 +35,9 @@
#
# emacs-page
#
-my $ver = "2.27";
+my $ver = "2.28";
+# 2018/09/17 v2.28 (Karl Berry)
+# * -dCompatibilityLevel=1.5 by default, since gs9.25 switched to 1.7.
# 2017/09/14 v2.27 (Karl Berry)
# * extract value from --gsopt with $3 not $2 (extra regexp group
# added previously), and check it with ^(...)$ so anchors apply to all.
@@ -187,9 +189,9 @@ my $ver = "2.27";
### emacs-page
### program identification
my $program = "epstopdf";
-my $ident = '($Id: epstopdf.pl 45306 2017-09-14 21:41:37Z karl $)' . " $ver";
+my $ident = '($Id: epstopdf.pl 48681 2018-09-16 23:03:58Z karl $)' . " $ver";
my $copyright = <<END_COPYRIGHT ;
-Copyright 2009-2017 Karl Berry et al.
+Copyright 2009-2018 Karl Berry et al.
Copyright 2002-2009 Gerben Wierda et al.
Copyright 1998-2001 Sebastian Rahtz et al.
License RBSD: Revised BSD <http://www.xfree86.org/3.3.6/COPYRIGHT2.html#5>
@@ -348,6 +350,9 @@ replaced by ".pdf". An output name ending with .pdf can also be given
as a second argument on the command line, or the --outfile (-o) option
can be used with any name.
+The output is PDF 1.5 by default; use --gsopt=-dCompatibilityLevel=1.7
+(for example) to change this.
+
The resulting output is guaranteed to start at the 0,0 coordinate, and
sets a page size exactly corresponding to the BoundingBox. Thus, the
result does not need any cropping, and the PDF MediaBox is correct.
@@ -550,6 +555,7 @@ push @GS, '-q' if $::opt_quiet;
push @GS, $::opt_safer ? '-dSAFER' : '-dNOSAFER';
push @GS, '-dNOPAUSE';
push @GS, '-dBATCH';
+push @GS, '-dCompatibilityLevel=1.5';
### option device
if ($::opt_device) {