summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-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')