View Single Post
Old 05-02-2017, 10:03 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,447
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
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
kovidgoyal is online now   Reply With Quote