Feature request for vertical Chinese text.
I know k2pdfopt has option
-r (right-to-left), but it is slightly different to what I need.
The default text ordering (for English-like languages) is
What
-r can handle is character right-to-left, line top-to-down
But for vertical Chinese, the text ordering is character top-to-down, line right to left,
If applying
-r to vertical Chinese text, it may cut text incorrectly. For example,
Currently, my workaround is
-rt 90 -ls. That is, use "-rt 90" to preserve correct text layout analysis and use "-ls" for correct page size. But after k2pdfopt finish, I have to use other utility to rotate the result pdf 180 degree.
p.s. Vertical and horizontal Chinese writing systems are both in use. Usually books with many English text use horizontal Chinese (characters left-to-right, line top-to-down). Literature and novel use vertical Chinese (character top-to-down, line right-to-left).