jmpinit / rm-dl-annotated

Export annotated PDFs from ReMarkable tablets
MIT License
80 stars 5 forks source link

Account for empty pages #9

Closed delaere closed 3 years ago

delaere commented 4 years ago

At least for recent reMarkable versions (2.1.x), there is no .rm file when there is no annotation on a given page. The consequence is a misaligned set of annotations for subsequent pages. This PR implements a simple solution, by generating an empty svg in that case.

Note that it includes changes from the other PR I made to move to qpdf.

jmpinit commented 3 years ago

Appreciate the fix, thanks!