readium / kotlin-toolkit

A toolkit for ebooks, audiobooks and comics written in Kotlin
https://readium.org/kotlin-toolkit
BSD 3-Clause "New" or "Revised" License
176 stars 74 forks source link

[Bug] Chinese epub vertical documents cannot be read normally #458

Open Kao953 opened 7 months ago

Kao953 commented 7 months ago

Describe the bug

When using Readium to read Chinese books in vertical epub format or using the vertical text function, there is no problem with flipping chapters left and right, but when flipping to the next page up and down, it will be forced to jump to the next chapter and cannot flip normally.

https://github.com/readium/kotlin-toolkit/assets/13762285/88aca89b-7b7e-48be-85f4-18814d27e081

How to reproduce?

  1. Open TestApp
  2. Click chinese vertical text mode epub file
  3. flip page

Readium version

v2.4.0

Android API version

33

Additional context

No response

danielweck commented 4 months ago

Hello, are you able/allowed to share a Chinese EPUB so we can run some tests? I am a Thorium developer, I would like to make sure that our implementation is correct for Chinese (we recently validated our Japanese support). Thank you!

Kao953 commented 3 months ago

Sorry for the late response. The following link is valid until August 1st. https://1drv.ms/u/s!Am0spwgeMVybjp1o9QvXEq076srMYw