View Single Post
Old 03-14-2020, 10:16 PM   #9
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: 46,737
Karma: 169712580
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Demonica View Post
I don't know about any 'wars'; I just wanted to know how many pages the book has as published under a given ISBN. I've found that in older versions of Calibre it shows those in a place where I liked to see them, so I will go back to that ☺️
The problem is that page counts for ebooks without embedded page information is going to depend on how pages are counted. Do we count one page per screen? One alternate method used by Adobe gives approximately one page per 1024 compressed characters? The first has issues with screen size, font size, margins, etc. affect the number of pages while the second will give you the same results on any software/device when using the identical book file but a bit hard to explain why page numbers show up any where on a screen.

And yes, there have been many electrons recycled in arguments about page numbers in these and other forums. After all, even with dead tree books, different editions can have different page counts even if you are not considering hardcover, trade paperback and regular paperback versions. To slightly misquote Misty Lackey, there is no one true page number.

Just as an FYI, here's the calculating synthetic page numbers from the Adobe EPUB Best Practices guide:
  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