View Single Post
Old 05-27-2013, 02:25 PM   #1
mattcurtis
Book Lover, Dev of Hyphen
mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.
 
mattcurtis's Avatar
 
Posts: 59
Karma: 2013886
Join Date: Apr 2013
Device: iPhone (Hyphen)
What ePub page/position calculation methods are there?

Hey guys,

I'm building an ePub reader, and I need to calculate and display the user's position inside of that ePub. However, ePub section/chapter size/word per page and and styling vary, which makes this a bit more difficult than I'd like.

I'm using a web-based solution, and since my implementation is page-oriented, I know what page a user is in, but only inside that section/chapter. Displaying all sections and calculating full number of pages and current page constantly uses too much memory. I was considering simply going with "Chapter X, Page X/X", but then this made me consider what other methods have been employed, or are recommended for letting the user know where they are in a book.

Thanks for any advice!

Last edited by mattcurtis; 05-31-2013 at 01:33 AM.
mattcurtis is offline   Reply With Quote