MicroPad / MicroPad-Core

µPad (MicroPad) is an open digital note taking app
https://getmicropad.com
Mozilla Public License 2.0
234 stars 22 forks source link

pdf annotations #426

Open tgilgien opened 1 year ago

tgilgien commented 1 year ago

Is your feature request related to a problem? Please describe. The embedded pdf viewer does not display annotations. Considering the limited drawing functionalities of MicroPad, it would be very convenient to be able to annotate pdf files in an external application and upload them in MicroPad.

Describe the solution you'd like Annotations being visible in the enbedded pdf viewer.

Describe alternatives you've considered Being able to annotate the pdf directly inside MicroPad would also be nice.

Additional context When uploading an annotated pdf file in MicroPad and downloading it again, the annotations are preserved. MicroPad version : 4.2.0 (Snap) Thanks for this amazing app ! Except for this small issue, it's just perfect.

NickGeek commented 1 year ago

MicroPad uses Chrome's PDF viewer when used from Chrome (i.e. https://web.getmicropad.com). I believe that supports annotations.

In the desktop app and on other browsers it uses PDF.js, which is the same PDF viewer as Firefox. This article (https://techdows.com/2022/07/edit-pdfs-firefox.html) says that PDF.js is getting annotation features. When that new feature-set is stable it should be a matter of simply updating the version of PDF.js that MicroPad bundles.