Skip to content
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

轉wylie後文字對齊問題 #23

Open
yapcheahshen opened this issue Dec 21, 2015 · 1 comment
Open

轉wylie後文字對齊問題 #23

yapcheahshen opened this issue Dec 21, 2015 · 1 comment
Labels

Comments

@yapcheahshen
Copy link

重複方式,載入一卷經文,捲到中間,讓畫面頂端是一個頁的開頭。
轉wylie
會跑到其他頁。
應該是英文字和藏文字的字距及行距累積的差距造成。

理想情況:
轉wylie後,目前畫面應該捲到同一頁。

建議處理:
轉wylie 前,先取得目前顯示最接近的頁及 offsetTop。
轉wylie後,捲到該頁再加上水平偏移量。

@kmsheng
Copy link
Contributor

kmsheng commented Dec 21, 2015

歡迎 pull request。

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

No branches or pull requests

2 participants