New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rendition.display() switch to wrong page for ebooks with vertical text #1093
Comments
Seems to happen with horizontal right-to-left books as well. Can reproduce with Israel Sailing from EPUB 3 Samples. |
I am having the same issue with rendition.display not showing the correct page for the input CFI. Anyone have an answer for this issue? |
I think I'm having the same problem. I grabbed the cfi at the start and end of my epub with
and tested |
Same issue, any fixes? Input CFI will always put me at the start of the chapter. |
related? #1277 |
It's been a while since I looked into it, but I seem to remember that Kusamakura being broken was in large part caused by its |
@johnfactotum |
I get the same issue as you when I'm trying to use epubjs in npm. Can you help me to fix this? |
Instead of requested location, it display beginning of section (beginning of source xml file, after page break; not sure what terminology is used in epub.js). This bug can be observed on Kusamakura from epub3 samples. This particular sample have some more bugs related to switching pages, so if necessary, I could try to prepare more minimal epub.
To reproduce, open ebook with vertical text and go to page that is not beginning of section. After calling
rendition.display(some_cfi_to_visible_text)
it will wrongly show beginning of current section.The text was updated successfully, but these errors were encountered: