How to get first visible element(text) of a page/spread

2 posts / 0 new
Last post

Hi guys,
I am trying to get first visible text from the page/spread. Readium CFI returns only the x,y values which are in percentage like below:
bookmark.contentCFI: /4/2/26@0:56
So from 56, we can't get exact visible element which appears fist. It may be a part of a para, as 1st 56% in other page, and rest 46% in the current view.

Will appreciate your help or any idea to solve the issue.
Thanks,

For technical questions like this, we suggest you post an issue on github here:

https://github.com/readium/readium-js-viewer/issues

Then the engineers/contributors on the project will be able to respond (they rarely browse the forum).

Secondary menu