Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(101)

Unified Diff: scripts/build/output-distance.py

Issue 365810043: Make PDF generation preserve links with recent ghostscript versions.
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scripts/auxiliar/make-regtest-pngs.sh ('k') | stepmake/stepmake/tex-rules.make » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/build/output-distance.py
diff --git a/scripts/build/output-distance.py b/scripts/build/output-distance.py
index 625ce12a1e3f1ab70db53797457ddc400e2472a5..f1e5d39e5ea0e8b3dbdc6d75447c51024888b56e 100755
--- a/scripts/build/output-distance.py
+++ b/scripts/build/output-distance.py
@@ -639,12 +639,21 @@ class SignatureFileLink (FileLink):
% os.path.dirname(infile))
mkdir (os.path.split (outfile)[0])
- cmd = ('gs -sDEVICE=png16m -dGraphicsAlphaBits=4 -dTextAlphaBits=4 '
- ' %(data_option)s '
- ' -r101 '
- ' -dAutoRotatePages=/None '
- ' -sOutputFile=%(outfile)s -dNOSAFER -dEPSCrop -q -dNOPAUSE '
- ' %(infile)s -c quit ') % locals ()
+ cmd = ('gs'
+ ' -sDEVICE=png16m'
+ ' -dGraphicsAlphaBits=4'
+ ' -dTextAlphaBits=4'
+ ' %(data_option)s'
+ ' -r101'
+ ' -dAutoRotatePages=/None'
+ ' -dPrinted=false'
+ ' -sOutputFile=%(outfile)s'
+ ' -dNOSAFER'
+ ' -dEPSCrop'
+ ' -q'
+ ' -dNOPAUSE'
+ ' %(infile)s'
+ ' -c quit') % locals ()
files_created[oldnew].append (outfile)
system (cmd)
« no previous file with comments | « scripts/auxiliar/make-regtest-pngs.sh ('k') | stepmake/stepmake/tex-rules.make » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b