peerdavid / remapy

An open source explorer for your remarkable tablet to show, upload or delete files via the remarkable cloud.
Apache License 2.0
174 stars 19 forks source link

Highlights of V2.7.0 are not shown #37

Closed peerdavid closed 3 years ago

peerdavid commented 3 years ago

The methodology of highlighting changed in V 2.7.0 as it snaps to the text. This information is stored in an extra folder called UUID.highlights containing .json files with the highlighting content:

{
    "highlights": [
        [
            {
                "length": 54,
                "rects": [
                    {
                        "height": 26.569766773897186,
                        "width": 519.4688684800092,
                        "x": 733.4033633961396,
                        "y": 612.5859482709097
                    }
                ],
                "start": 2967,
                "text": "In this paper, we have shown that conflicting training"
            },
            {
                "length": 60,
                "rects": [
                    {
                        "height": 26.569836784811628,
                        "width": 547.7179924460017,
                        "x": 705.6343742819392,
                        "y": 640.0120939366957
                    }
                ],
                "start": 3023,
                "text": "bundles decrease the test accuracy of trained models or lead"
            },
            {
                "length": 42,
                "rects": [
                    {
                        "height": 21.907319910386036,
                        "width": 384.02792358398426,
                        "x": 705.8629599178538,
                        "y": 667.4382396024814
                    }
                ],
                "start": 3085,
                "text": "to networks that can not be trained at all"
            }
        ]
    ]
}