I never mind forks -- that's why calibre is open source -- to encourage others to learn contribute and even fork.
Just so you knwo the existing viewer is in maintenance mode. I have developed an in browser viewer for calibre 3 and the code base of that viewer will eventually replace this one, probably using QtWebEngine instead of QtWebKit.
As for how the fake page number is calculated, see set_page_number and scroll_fraction
|