8000 Reading vertically: scroll position out of control when creating a multi-word term and when turning the page · Issue #616 · LuteOrg/lute-v3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Reading vertically: scroll position out of control when creating a multi-word term and when turning the page #616

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Inquisitor-Ignotorum opened this issue May 10, 2025 · 0 comments

Comments

@Inquisitor-Ignotorum
Copy link
Inquisitor-Ignotorum commented May 10, 2025

Configuration: Windows 10, Lute v. 3.10.1 installed via pip

Hello. The traditional way to write Japanese, Chinese and Korean is in vertical lines that are written from the top of the page to the bottom of the page, with the first line being on the right side of the page and the last line on the left side of the page. I have been learning Japanese for a few years and have always been reading Japanese in the traditional way because I greatly enjoy it. I also do the same thing every day with Lute by changing the way the reading screen text is displayed via the Settings screen's CSS text box.

Several Lute versions ago, we got the update that maintains the reading screen's scroll position when creating a multi-word (or multi-character) term and moves the reading screen's scroll position to the beginning of the page when turning the page. Unfortunately these do not apply when reading vertically, so the reading screen's scroll position jumps all over the place when I create a multi-character term and when I turn the page. This feels jarring and unpleasant. It would be great if we could please have this update applied to vertical reading as well, so that the user can have the ability to fully enjoy reading Japanese, Chinese and Korean either in the traditional way or in the modern way depending on their preference.

Below is the CSS I have been using to make the reading screen's text be displayed in the proper manner for reading Japanese/Chinese/Korean in the traditional way (it has been tested for Japanese, Chinese and Korean and works as intended). The width and the max height may need tweaking depending on personal preference.

div#read_pane_left > div#thetext {
width: 90%;
max-height: 67%;
writing-mode: vertical-rl;
text-orientation: upright;
overflow: auto;
}

It could be useful to include a vertical reading option in each language's settings screen, as a tick box. Then, if a user is learning Japanese, Chinese or Korean and wishes to read in the traditional way, they could easily switch by ticking that box (or perhaps a vertical reading tick box plus the right-to-left tick box). This would make things easier for users who have little or no knowledge of coding.

Thank you for excellent software.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0