Skip to content

Fix for incorrect object anchoring when rm file contains text #44

@avncharlie

Description

@avncharlie

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:
Image

This is the same file exported using rmc:
Image

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:
Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions