I originally thought it was due to cropping on the reMarkable, but the dimensions of the device simply differ from DIN A4 documents, such that notes on such documents are currently shifted. This PR takes into account the original pdf size and adds a corresponding margin to the right hand side, such that background.pdf and foreground.pdf have the same dimensions and notes are properly aligned.
Note: This is not affected by cropping, yet currently only tested with Din A4 portrait documents
Introduce symlinks instead of copying $ID.pdf to background.pdf, which is more performant for large pdfs (i.e. books).
Due to the change from pdftk arguments multibackground to multistamp (which accounts for transparency), the foreground and background were flipped (hardly noticeable due to transparent templates). This is also fixed in this PR.
I originally thought it was due to cropping on the reMarkable, but the dimensions of the device simply differ from DIN A4 documents, such that notes on such documents are currently shifted. This PR takes into account the original pdf size and adds a corresponding margin to the right hand side, such that
background.pdf
andforeground.pdf
have the same dimensions and notes are properly aligned.Note: This is not affected by cropping, yet currently only tested with Din A4 portrait documents
Example
Additional minor changes
$ID.pdf
tobackground.pdf
, which is more performant for large pdfs (i.e. books).multibackground
tomultistamp
(which accounts for transparency), the foreground and background were flipped (hardly noticeable due to transparent templates). This is also fixed in this PR.