summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/tlgs/gswin32/ps2pdf13.tlu
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/tlgs/gswin32/ps2pdf13.tlu')
-rwxr-xr-xMaster/texmf-dist/scripts/tlgs/gswin32/ps2pdf13.tlu6
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/tlgs/gswin32/ps2pdf13.tlu b/Master/texmf-dist/scripts/tlgs/gswin32/ps2pdf13.tlu
index b0debe869df..fdee5bd072c 100755
--- a/Master/texmf-dist/scripts/tlgs/gswin32/ps2pdf13.tlu
+++ b/Master/texmf-dist/scripts/tlgs/gswin32/ps2pdf13.tlu
@@ -127,7 +127,7 @@ local progname, options, file=parse_cmdline()
check_files(progname, file, 'pdf')
-- determine PDF level
-local PDF_level='1.4' -- default, may be changed in the future
+local PDF_level='1.5' -- default, may be changed in the future
if progname == 'ps2pdf12' then PDF_level='1.2'
elseif progname == 'ps2pdf13' then PDF_level='1.3'
elseif progname == 'ps2pdf14' then PDF_level='1.4'
@@ -138,7 +138,11 @@ end
local command={}
if os.type == 'unix' then command={'gs'} else command={'gswin32c'} end
+if os.type == 'unix' then
push(command, '-P-', '-dSAFER', options, '-dCompatibilityLevel='..PDF_level)
+else
+push(command, '-P-', '-dDELAYSAFER', '-dALLOWPSTRANSPARENCY', options, '-dCompatibilityLevel='..PDF_level)
+end
if progname == 'pdfopt' then push(command, '-dFastWebView=true') end