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.
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.