Open
Description
Hi,
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.
Brought from readium/kotlin-toolkit#656.
Metadata
Metadata
Assignees
Labels
No labels