Closed TLHP closed 10 years ago
Hi,
There are a number of issues where the text measuring seems to give incorrect results, causing glitches like this. I haven't been able to figure out why though.
Do you have any suggestion where to look for? I will try to dig deeper into it and let you know :)
If you look in FixedPagesStrategy, there's a method called
public List<Integer> getPageOffsets(CharSequence text, boolean includePageNumbers ) {
It uses a StaticLayout to calculate where pages should end. My current theory is that this gets the numbers subtly wrong sometimes. I might be wrong though.
Closing this issue since TLHP was kind enough to send a pull request with a fix.
Hi,
You can see at the right side with scrollbar and text on top get cut off
Cheers