reHackable / maxio

Companion daemon for the reMarkableā„¢ paper tablet
GNU Lesser General Public License v3.0
156 stars 52 forks source link

Need to offset in x direction for overlay with pdftk #23

Open ericsfraga opened 6 years ago

ericsfraga commented 6 years ago

Hello, I've been using the rM2svg script to create (with rsvg-convert) the SVG images to overlay them on the original PDF document that was annotated using the tablet. Doing so leads to the annotations (i.e. the pen strokes etc.) shifted slightly to the left when overlayed on the original PDF document. I wonder whether anybody else has seen this behaviour? I have fixed it by adding +40 (by trial and error) to all x values found but this seems rather kludgy. In any case, thanks for this tool!

mseri commented 6 years ago

I have noticed an issue with a lack of y offset when testing https://github.com/reHackable/maxio/pull/22#issuecomment-398858538

I need to test the fix add I will add it in there. If you are on mac or linux I got very good results with remt https://gitlab.com/wrobell/remt

EDIT: Note that exportNotebook does currently add the x offset, but only if pdfinfo is installed, @ericsfraga do you have it?

ericsfraga commented 6 years ago

Thanks. I'll follow up your link to remt. I use Linux.

ericsfraga commented 6 years ago

I've made a comment related to this issue in issue 22