summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2021-05-10 03:33:21 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2021-05-10 03:33:21 +0000
commit456f2f75a738bd9118c2200ed6fe62fcf313f332 (patch)
treed2e5d24a30545e339e60fa321279d2b096a71c6d
parent89285c4cb04de2de42a3f8066d603d2e4b3a6402 (diff)
pdf2dsc.tlu: Add -dNOSAFER again since pdf2dsc does not work without it. pdf2dsc should be used for trusted sources only.
git-svn-id: svn://tug.org/texlive/trunk@59157 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/texmf-dist/scripts/tlgs/gswin32/pdf2dsc.tlu6
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/tlgs/gswin32/pdf2dsc.tlu b/Master/texmf-dist/scripts/tlgs/gswin32/pdf2dsc.tlu
index 8c38ce1ff4e..476a5169243 100755
--- a/Master/texmf-dist/scripts/tlgs/gswin32/pdf2dsc.tlu
+++ b/Master/texmf-dist/scripts/tlgs/gswin32/pdf2dsc.tlu
@@ -53,7 +53,11 @@ end
local command={}
if os.type == 'unix' then command={'gs'} else command={'gswin32c'} end
-push(command, '-q', '-dNODISPLAY', '-dALLOWPSTRANSPARENCY',
+--[[ Add -dNOSAFER again since pdf2dsc does not work without it.
+ Use pdf2dsc for trusted sources only.
+--]]
+
+push(command, '-q', '-dNODISPLAY', '-dALLOWPSTRANSPARENCY', '-dNOSAFER',
'-sPDFname='..pdffile, '-sDSCname='..dscfile, 'pdf2dsc.ps',
'-c', 'quit')