rwthmoodle / moodle-mod_pdfannotator

PDF Annotation Tool
19 stars 23 forks source link

Exported comments in pdf can not be copied or processed as text #62

Open martin-guddat opened 2 years ago

martin-guddat commented 2 years ago

Steps to reproduce: Preparation

Expected:

Is: data pasted in step 2 equals data copied in step1 (as expected) data pasted in step 4 does not equal data copied in step3 (unexpected) the Annotation text ABC 0123 BOX is pasted as: %&'८௺௻௼௽८&3<

Additional info: Is there some kind of encoding issue? A a result names and dates are available for pdfgrep, the annotations themselves are not. the generated pdf is rejected by pdftotext with the following error message: Syntax Error: Unknown character collection 'Adobe-Identity-H'

The issue is supposedly related to issue #17: CJK characters turn into unreadable characters while downloading comments · Issue #17 · rwthmoodle/moodle-mod_pdfannotator

Example file added Annotation Test_Kommentare.pdf

nisaDoc commented 2 years ago

Hello @martin-guddat,

thank you for reporting the issue and thank you for using our plugin. Currently, we are planning to updating the jspdf library, that library for generating the pdf comments. But, it could take some time until we are really working on that update.

Best regards, Nisa