Closed jackjackk closed 4 years ago
@edupont thanks a lot for your review! unfortunately I realized the rm2svg does not support the new .lines format, which is version 5. I was testing it with notebooks created before updating the rM to the latest version, hence with a previous .lines format. Do you know where we can find info to update it? also this c++ code https://github.com/ax3l/lines-are-beautiful/ seemed to not be working after a quick test.
Alright, there was an added 4-byte field, not sure what for, but for the moment at least it produces the expected output on a couple of test pages. eventually we will need to figure out what is that.
Tested with rM v1.7.2.3 and v1.8.1.1. Below the list of major changes
I didn't test all corner cases, plus there is plenty of optimizations possible (e.g. pdf pages w/ no annotations are still converted to svg for the final pdftk combinations) but maybe it's a starting point to keep this useful tool current.