Merge branch 'MDL-82440-main' of https://github.com/praxisdigital/moodle
This commit is contained in:
@@ -734,7 +734,7 @@ class pdf extends TcpdfFpdi {
|
||||
$gsexec = \escapeshellarg($CFG->pathtogs);
|
||||
$tempdstarg = \escapeshellarg($tempdst);
|
||||
$tempsrcarg = \escapeshellarg($tempsrc);
|
||||
$command = "$gsexec -q -sDEVICE=pdfwrite -dPreserveAnnots=false -dSAFER -dBATCH -dNOPAUSE "
|
||||
$command = "$gsexec -q -sDEVICE=pdfwrite -dPreserveAnnots=false -dSAFER -dBATCH -dNOPAUSE -dCompatibilityLevel=1.4 "
|
||||
. "-sOutputFile=$tempdstarg $tempsrcarg";
|
||||
|
||||
exec($command);
|
||||
|
||||
Reference in New Issue
Block a user