Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 01-07-2015, 10:35 AM   #1
howyoudoin
how YOU doin?
howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.
 
howyoudoin's Avatar
 
Posts: 686
Karma: 3624338
Join Date: Feb 2009
Location: India
Device: Kindle Keyboard, iPad 4, Kobo Aura H2O
How does the kobo calculate book page counts?

I have the H2O, but I assume this applies to any kobo....

How does the kobo calculate the total number of pages in a book (the count that gets displayed at the bottom of every page on the e-reader) for side-loaded kepubs?

Is there a way to control that algorithm in any way?
howyoudoin is offline   Reply With Quote
Old 01-07-2015, 10:47 AM   #2
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 34,279
Karma: 94233480
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
IIRC, it's the way ADE does it, which is based on the size of the XHTML text of the book. Sloppy coding can, therefore, increase the page count without increasing the visible text!
pdurrant is online now   Reply With Quote
Old 01-07-2015, 11:28 AM   #3
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 7,623
Karma: 49493455
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
No... side loaded kepubs don't use the ADE style page count. I'm actually not sure how they do it.
PeterT is offline   Reply With Quote
Old 01-07-2015, 11:31 AM   #4
GERGE
Groupie
GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.
 
Posts: 170
Karma: 1155178
Join Date: Jun 2010
Location: Turkey
Device: Kobo Glo
My sideloaded kepubs use real page numbers. As in how many refleshes it would take to finish the chapter.
GERGE is offline   Reply With Quote
Old 01-07-2015, 11:53 AM   #5
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 34,279
Karma: 94233480
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
How interesting. Sorry for giving the wrong info.
pdurrant is online now   Reply With Quote
Old 01-07-2015, 12:04 PM   #6
howyoudoin
how YOU doin?
howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.
 
howyoudoin's Avatar
 
Posts: 686
Karma: 3624338
Join Date: Feb 2009
Location: India
Device: Kindle Keyboard, iPad 4, Kobo Aura H2O
Quote:
Originally Posted by GERGE View Post
My sideloaded kepubs use real page numbers. As in how many refleshes it would take to finish the chapter.
That's if you use the per-chapter setting, isn't it?

The "entire book" setting gives a fixed number of total pages that is unaffected by font/line spacing/margin settings.
howyoudoin is offline   Reply With Quote
Old 01-07-2015, 12:52 PM   #7
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 2,368
Karma: 6278847
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Aura HD, Glo, Nexus 7 HD, iPad Air
Quote:
Originally Posted by howyoudoin View Post
That's if you use the per-chapter setting, isn't it?

The "entire book" setting gives a fixed number of total pages that is unaffected by font/line spacing/margin settings.
Which would suggest it is defaulting back to the ADE synthetic page algorithm. If you are interested, the procedure from Adobe's epub best practices guide is:

Synthetic page names
  1. When page map is not available in the document, Adobe Digital Editions will synthesize a page-map based on the document content. The approach used is the following:
  2. Determine a compressed byte length of each resource which is referenced in the spine, subtracting any known encryption overhead (IV size).
  3. Assume that there is a page for each 1024 bytes in each resource, rounding up to the nearest whole number of pages for each resource.
  4. To map page breaks into a resource, use the number of pages for the resource as determined in step 2, count the number of Unicode characters in the resource; distribute synthetic page breaks in the resource evenly between the characters by dividing the number of characters by the number of pages; if the number of characters don’t divide evenly among the pages, round the number of characters per page up and let the last “page” contain less characters than the rest.
DNSB is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any way to calculate page numbers better for H2O? OrangeFlavored Kobo Reader 3 10-19-2014 07:10 PM
How does the calibre viewer calculate page number and total pages? auspex Development 9 09-24-2014 09:10 AM
hangs and is slow at high book counts klikklak Calibre 8 08-10-2009 01:48 PM
E-book industry counts on cell phones TadW News 1 06-28-2006 10:28 AM


All times are GMT -4. The time now is 08:54 AM.


MobileRead.com is a privately owned, operated and funded community.