MDL-82440 assignfeedback_editpdf: Force ghostscript pdf's to pdf v1.4
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