[nasm:nasm-2.15.xx] doc/pspdf.pl: remove .setpdfwrite from gs command line
nasm-bot for H. Peter Anvin
hpa at zytor.com
Fri Jul 17 18:15:03 PDT 2020
Commit-ID: 20be7aaa28b0e30c505e2bc21607c9fcd409e6f2
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=20be7aaa28b0e30c505e2bc21607c9fcd409e6f2
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Fri, 17 Jul 2020 18:02:49 -0700
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Fri, 17 Jul 2020 18:02:49 -0700
doc/pspdf.pl: remove .setpdfwrite from gs command line
Ghostscript no longer recommends adding the .setpdfwrite operator when
producing PDF; in fact:
.setpdfwrite
This operator is now deprecated, and its use is discouraged
Presumably it was never actually necessary, so just drop it.
Signed-off-by: H. Peter Anvin (Intel) <hpa at zytor.com>
---
doc/pspdf.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/pspdf.pl b/doc/pspdf.pl
index 91986413..55df3c23 100755
--- a/doc/pspdf.pl
+++ b/doc/pspdf.pl
@@ -124,7 +124,7 @@ my $r = system($gs, "-dCompatibilityLevel${o}1.3",
$fpopt,
"-dCompressPages${o}" . ($compress ? 'true' : 'false'),
"-dUseFlateCompression${o}true",
- "-c", ".setpdfwrite", "-f", $in);
+ "-f", $in);
exit 0 if ( !$r && -f $out );
# 3. pstopdf (BSD/MacOS X utility)
More information about the Nasm-commits
mailing list