rmc struggles to correctly anchor objects to text within rm files, and display text with whitespace.
For example, this is a file exported using reMarkable's mac desktop app:

This is the same file exported using rmc:

I used an LLM to fix the object alignment and text whitespace issues, in this commit (on my fork of rmc): avncharlie/rmc@f52ceb2
With the fixes:

I don't fully understand why this works. I've put the AI explanation of the bugfix, as well as relevant files here: testfiles.zip. This zip also contains the original rm file of this test page.
It is still not a perfect solution as it doesn't use the Remarkable's font, so the text will always be a bit off. But hopefully a starting point to actually fix this issue.
rmc struggles to correctly anchor objects to text within rm files, and display text with whitespace.

For example, this is a file exported using reMarkable's mac desktop app:
This is the same file exported using rmc:

I used an LLM to fix the object alignment and text whitespace issues, in this commit (on my fork of rmc): avncharlie/rmc@f52ceb2
With the fixes:

I don't fully understand why this works. I've put the AI explanation of the bugfix, as well as relevant files here: testfiles.zip. This zip also contains the original
rmfile of this test page.It is still not a perfect solution as it doesn't use the Remarkable's font, so the text will always be a bit off. But hopefully a starting point to actually fix this issue.