You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to fix scrolling of vertical text in kotlin-toolkit.
ReadiumCss.kt is responsible for setting stylesheet based on EpubSettings. By default, it sets writing-mode: vertical-rl (except for Mongolian).
However, there may be the case where the user specifies ReadingProgression to be LTR. Thus, we need to override writing-mode: vertical-rl with writing-mode: vertical-lr so that the page flows from left to right while still being vertical text.
Luckily, we are able to get the requested ReadingProgression from Layout, so I think its a matter of injecting CSS into the HTML, but not sure if that's the desired way to do this.