Replies: 2 comments 5 replies
-
Which strategies did you use to locate the bookmark? With EPUB and PDF, I think you should be able to compare the bookmark's |
Beta Was this translation helpful? Give feedback.
-
Hi @mickael-menu, thanks for the quick reply! Using the position was my first approach but since one position can span multiple screen-pages, I would have the visual indication for the bookmark across all of them. This is of course the expected behavior but I think it will confuse the user, as they will see it as multiple bookmarks and not one. Ideally, I would anchor the bookmark to the first sentence of a screen-page when it's set, and match it that way (even after font-size or layout changes) but I have trouble figuring out a robust implementation around this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've recently integrated Readium into a personal project and the experience has been great so far!
One area that I still can't wrap my head around is bookmarks. Saving a bookmark and navigating back to it is no issue and the test app has been great to understand the right patterns. However, I want to display a visual indication on the screen if there is a bookmark set. This works well as long as the font size and layout don't change. If they change, I have trouble matching the locator to the screen-page where the bookmark is supposed to be (but which is now different of course, because of font and layout changes).
I already tried a lot of different approaches and so far, I am either losing the visual reference because I am no longer matching the bookmark, or I match it on multiple screen-pages.
I am not entirely familiar with the Readium vocabulary yet, so I hope the description of my problem is not too vague. Any help or information that could steer me in the right direction is much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions