Details
-
Bug
-
Status: Development in progress
-
Minor
-
Resolution: Unresolved
-
3.11.11, 4.0.5
-
None
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
-
1
-
Team Alpha - Sprint 1 I1-2023
Description
Once a submission was made in consecutive steps the files are prepared to be annotated by a course teacher. One of those steps combines all supplied documents with a php pdf library called "FPDI V2". This library can't handle files with annotations and will just ignore their presence, thus deleting them from the output it generates. As a consequence teachers will find some student Submissions are either incomplete or completely blank.
As a solution, i propose an opt in setting, that forces another run of ghostscript with the '-dPreserveAnnot' flag on the supplied PDF files before beeing combined. This way, the annotations become actual content of the PDF and it wont get lost in the combining step.