summaryrefslogtreecommitdiff
path: root/graphics/a2ping
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-11-29 03:01:31 +0000
committerNorbert Preining <norbert@preining.info>2019-11-29 03:01:31 +0000
commitb4325b27feab3a4183f51bfe598686eb72a8c1e0 (patch)
tree588136f898659a6e62838a59f630d5d37313c9d3 /graphics/a2ping
parent747dfc2fd42b7dbdc60bb83a91392d4960b1f48e (diff)
CTAN sync 201911290301
Diffstat (limited to 'graphics/a2ping')
-rw-r--r--graphics/a2ping/HISTORY.txt4
-rwxr-xr-xgraphics/a2ping/a2ping.pl24
2 files changed, 23 insertions, 5 deletions
diff --git a/graphics/a2ping/HISTORY.txt b/graphics/a2ping/HISTORY.txt
index 3147b91e4f..b410774de4 100644
--- a/graphics/a2ping/HISTORY.txt
+++ b/graphics/a2ping/HISTORY.txt
@@ -139,4 +139,8 @@
(https://bugs.ghostscript.com/show_bug.cgi?id=699063).
Problem reported by Akira Yokosawa.
+=head2 2019-11-17 v2.84p (Péter Szabó and Akira Yokosawa)
+
+ * -dNOSAFER fix for Ghostscript 9.50 by Akira Yokosawa.
+
__END__
diff --git a/graphics/a2ping/a2ping.pl b/graphics/a2ping/a2ping.pl
index 0da2e4344e..b639fb9d2a 100755
--- a/graphics/a2ping/a2ping.pl
+++ b/graphics/a2ping/a2ping.pl
@@ -350,7 +350,7 @@ use just +1; # a JustLib application
use strict;
use integer;
use Htex::papers;
-BEGIN { $Htex::a2ping::VERSION="2.83p" }
+BEGIN { $Htex::a2ping::VERSION="2.84p" }
# Imp: option to ignore `%%Orientation: Portrait', which gs respects and rotates by 90 degrees if necessary
# Imp: gs(704?!) sometimes finds too small bbox, see Univers.eps
@@ -399,7 +399,7 @@ BEGIN { $Htex::a2ping::VERSION="2.83p" }
### program identification
my $program = "a2ping.pl";
-my $filedate="2018-03-07"; # See also $Htex::a2ping::VERSION.
+my $filedate="2019-11-17"; # See also $Htex::a2ping::VERSION.
my $copyright = "Written by <pts\@fazekas.hu> from April 2003.
This is free software, GNU GPL >=2.0. There is NO WARRANTY.
(epstopdf 2.7 Copyright 1998-2001 by Sebastian Rahtz et al.)\n";
@@ -778,8 +778,9 @@ $GS=$::opt_gs_cmd if defined $::opt_gs_cmd;
my $CGS=$GS;
$CGS=$::opt_gs_ccmd if defined $::opt_gs_ccmd;
# vvv SUXX: (r) file doesn't work with gs 8.5x -DSAFER
-#$GS.= " -dSAFER"; # -dWRITESYSTEMDICT
-#$CGS.=" -dSAFER"; # -dWRITESYSTEMDICT
+# -dNOSAFER to override SAFER activated by default since gs 9.50
+$GS.= " -dNOSAFER"; # -dWRITESYSTEMDICT
+$CGS.=" -dNOSAFER"; # -dWRITESYSTEMDICT
### get input and output filename
if (!defined $InputFilename and defined $OutputFilename) { # --filter
@@ -2277,6 +2278,8 @@ just::end __END__
Dat: `=item * foo' is wrong, puts big space between `*' and `foo'
+=encoding latin1
+
=begin man
.ds pts-dev \*[.T]
@@ -2293,7 +2296,7 @@ Dat: `=item * foo' is wrong, puts big space between `*' and `foo'
.\}
.ad n
-=end
+=end man
=head1 NAME
@@ -2377,8 +2380,12 @@ Show the man page
Show progress and debug messages (default: no)
+=back
+
=head2 Options for the Bounding box
+=over 2
+
=item B<--(no)hires>
Use HiResBoundingBox in the input file, if present (default: yes)
@@ -2399,9 +2406,12 @@ Method for determining the BoundingBox (default: guess)
Allow page content below and left of the origin (default: no)
+=back
=head2 Options for graphics and fonts
+=over 2
+
=item B<--(no)compress>
use compression (default: best)
@@ -2422,9 +2432,12 @@ allow lossy image filters (EPS->PDF) (default: yes)
min color for 1 in 8->1 bit conv (default: 128)
+=back
=head2 Options for debugging and changing internals
+=over 2
+
=item B<--(no)tmpunlink>
Unlink temporary files (default: yes). Use B<--notmpunklink> if you
@@ -2446,6 +2459,7 @@ Pass extra arguments to gs
Pass extra arguments to external program (i.e pdftops)
+=back
=head1 TIPS AND TRICKS