diff options
author | Karl Berry <karl@freefriends.org> | 2018-09-16 23:03:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-09-16 23:03:58 +0000 |
commit | b4381db4bc78db78eaa9d4cefd5a9da89d514616 (patch) | |
tree | 06b7afbeb503e51d29c96990daed355be84543fb /Build/extra/epstopdf/epstopdf.pl | |
parent | 0867a8a02cc58766a0434a1f7124cd1202b4fe70 (diff) |
epstopdf 2.28: PDF 1.5 by default, since gs9.25 changed to 1.7
git-svn-id: svn://tug.org/texlive/trunk@48681 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/extra/epstopdf/epstopdf.pl')
-rwxr-xr-x | Build/extra/epstopdf/epstopdf.pl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Build/extra/epstopdf/epstopdf.pl b/Build/extra/epstopdf/epstopdf.pl index 10f3026daf4..353ad6d0265 100755 --- a/Build/extra/epstopdf/epstopdf.pl +++ b/Build/extra/epstopdf/epstopdf.pl @@ -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. @@ -189,7 +191,7 @@ my $ver = "2.27"; my $program = "epstopdf"; my $ident = '($Id$)' . " $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) { |