summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2017-04-10 06:47:29 -0700
committerH. Peter Anvin <hpa@zytor.com>2017-04-10 06:47:29 -0700
commit1ad261f9c90f398793b775da661be0e963d8a17f (patch)
tree4ea65732f5d3d6a64071dad37792cf97650b7598 /doc
parent98e0816df482f996ef1a31e399b533b52da1f636 (diff)
downloadnasm-1ad261f9c90f398793b775da661be0e963d8a17f.tar.gz
pspdf.pl: set some better options to ps2pdf (GhostScript)
Generate better PDF files, we hope... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/pspdf.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/pspdf.pl b/doc/pspdf.pl
index 6d59142a..454c031c 100755
--- a/doc/pspdf.pl
+++ b/doc/pspdf.pl
@@ -19,7 +19,9 @@ my $r = system('acrodist', '-n', '-q', '--nosecurity', '-o', $out, $in);
exit 0 if ( !$r && -f $out );
# 2. ps2pdf (from Ghostscript)
-my $r = system('ps2pdf', $in, $out);
+my $r = system('ps2pdf', '-dOptimize=true', '-dEmbedAllFonts=true',
+ '-dUseFlateCompression=true',
+ $in, $out);
exit 0 if ( !$r && -f $out );
# 3. pstopdf (BSD/MacOS X utility)