Quote:
Originally Posted by tompe
I did a test text document to see if the progress bar was page number or file position. It is fileposition so the progress bar is no indicator of page number. The consequence of that seems to be that if you have a html file with a lot of invisible html code before the start of the text then the progress bar indicator will be very misleading if it is a short story.
My test text document has at least 60 pages. When I go to jump to page the Cybook claims the number of pages is 17. Seems like a bug to me.
My test document was like:
Code:
12345612345678907890
12345612345678907890
12345678901234567890
12345678901234567890
1
2
3
4
5
6
7
8
9
0
|
Given that it definitely doesn't paginate the book, file position is really the only thing the "page number" has to go on. I'd guess it's probably doing something like:
page_length = file pos of this page - file page of previous page
number_of_pages = total file size / page_length
progress_bar_position_% = (file pos of this page) / (total file size ) * 100
So a file with wildly different amounts of text on each page might well completely throw off the page count.