Quote:
Originally Posted by Kuang-che Wu
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 ...
...
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).
|
Actually, I prefer your solution rather than put in special processing for vertical Chinese. Perhaps it could be automated a bit more. I'll think on it. You shouldn't have to use a different utility, though, for the final rotation. k2pdfopt should be able to do all the rotating that you need (-rt option), even if you have to run it in two passes.