Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 12:31 PM   #271
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,491
Karma: 154365103
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by MrSilverstrike View Post
No plans for this right now. It'd require too many changes to how page numbering works and you'd need books that support the `page-map` extension. It's not something I'm personally interested in supporting right now, at least not before v1.0 is out.
I think we can do without page-map. This is just for the page numbers displayed in the header/footer.

Last edited by JSWolf; Yesterday at 12:38 PM.
JSWolf is offline   Reply With Quote
Old Yesterday, 12:37 PM   #272
MrSilverstrike
Kobo Mod Maker
MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.
 
MrSilverstrike's Avatar
 
Posts: 210
Karma: 2526874
Join Date: Apr 2024
Location: Belgium
Device: Kobo Libra Color, Kobo Clara Color
Quote:
Originally Posted by JSWolf View Post
I think we don't need the page-map extension. I don't read books with alternate page numbers. And if the book has them, I remove them.
You misunderstand: I need to support Adobe's page-map extension for epub files in order to support what you're asking for.
MrSilverstrike is offline   Reply With Quote
Advert
Old Yesterday, 01:09 PM   #273
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,491
Karma: 154365103
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by MrSilverstrike View Post
You misunderstand: I need to support Adobe's page-map extension for epub files in order to support what you're asking for.
Why would that be? Count Pages supports ADE page numbers without the page-map.
JSWolf is offline   Reply With Quote
Old Yesterday, 01:52 PM   #274
MrSilverstrike
Kobo Mod Maker
MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.
 
MrSilverstrike's Avatar
 
Posts: 210
Karma: 2526874
Join Date: Apr 2024
Location: Belgium
Device: Kobo Libra Color, Kobo Clara Color
Quote:
Originally Posted by JSWolf View Post
Why would that be? Count Pages supports ADE page numbers without the page-map.
Specifically, ADE page numbers are... technically inaccurate. Wildly so.

Without page numbers baked into the file they're literally made up based on the size of the compressed archive. That can vary based on how the epub was made. This way, 20 dense screens of text which may count as 10 pages in a printed book might translate to only 2 pages with this counting system (if there's an abundance of repeated text).

I'd say that's not ideal. It's not a massive problem, but it's definitely a technical flaw.

But look, it's a standard (to some degree). If I can find a nice way to make this work and present it as such, I'll add it as an opt-in feature. But I'm not sure yet whether it makes sense, and I doubt it'll make it into the app before v1.0 is ready.

Last edited by MrSilverstrike; Yesterday at 01:55 PM.
MrSilverstrike is offline   Reply With Quote
Old Yesterday, 02:57 PM   #275
Dal Bhat
दाल भात
Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.
 
Posts: 184
Karma: 1656764
Join Date: Apr 2024
Device: Kindle 11th Gen; Clara BW
Quote:
technically inaccurate. Wildly so.
I don't know where the numbers come from as counted/displayed in Kobalt, but, yeah, way off. Example from one of my current books: 234 pages according to Calibre; 538 on the device in Kobalt.

The former is much more reasonable based on what the book is.
Dal Bhat is offline   Reply With Quote
Advert
Old Yesterday, 03:04 PM   #276
MrSilverstrike
Kobo Mod Maker
MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.
 
MrSilverstrike's Avatar
 
Posts: 210
Karma: 2526874
Join Date: Apr 2024
Location: Belgium
Device: Kobo Libra Color, Kobo Clara Color
Quote:
Originally Posted by Dal Bhat View Post
I don't know where the numbers come from as counted/displayed in Kobalt, but, yeah, way off.
Kobalt just counts the screens, so it depends on your text settings and how big your device is!
MrSilverstrike is offline   Reply With Quote
Old Yesterday, 04:20 PM   #277
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: 55,510
Karma: 182544230
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
For what it may be worth, there are two types of Adobe page numbers. The page map numbers which like the ePub3 page list matches the page numbers in a specific physical books and the Abobe Synthetic Page Number algorithm which is the one that uses the compressed data as part of the calculation.
  1. Calculate the byte length of every resource referenced in the spine subtracting encryption overhead.
  2. Divide the byte length by 1024 and round up.
  3. Take the calculated number of pages in the resource, count the number of Unicode characters in the uncompressed resource; distribute synthetic page breaks by dividing the number of characters by the number of pages. If the output of the division is not evenly distributed, round the number of characters per page up and let the last page contain less characters than the rest of the pages.

The main advantage to the Adobe SPN algorithm is that the number of pages is the same regardless of text size, formatting, etc. The disadvantage is a page number can and will fall in the middle of a page. Another disadvantage which I've seen a couple of times in the wild is where the ebook creator for some reason used base64 images which caused wildly inflated page counts.

I checked one of my grand-niblings university etextbooks (all 15 of them) back in September and 12 of them were ePub3 with an ePub3 page list in the navigation document. Only 1 of the 12 that had a page list did not also have an ePub2 NCX navigation document which also carried the page list. Of the remaining 3, two were ePub2 and did not have a page list/page map and the other was ePub2 with an embedded Adobe page map.

I suspect that adding the ability to use a page list would be the most useful to most people.
DNSB is offline   Reply With Quote
Old Yesterday, 04:24 PM   #278
Dal Bhat
दाल भात
Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.
 
Posts: 184
Karma: 1656764
Join Date: Apr 2024
Device: Kindle 11th Gen; Clara BW
Quote:
Originally Posted by MrSilverstrike View Post
Kobalt just counts the screens, so it depends on your text settings and how big your device is!
Now I know. So x of y tells me which screen of y total screens remaining in the chapter I'm reading.

That's OK, too!
Dal Bhat is offline   Reply With Quote
Old Yesterday, 08:39 PM   #279
Glennza
Junior Member
Glennza began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2021
Location: Kullogum, QLD
Device: Kobo Clara
Just installed beta 5 on my Clara HD (BW). Looks great so far.

Only issue I have is that the settings menu says Page Turn Animations are "not supported on this device". This is a bit weird as I have NickelDissolve installed and it works great on the built-in reader. Any ideas?
Glennza is offline   Reply With Quote
Reply

Tags
koreader, nickelhook, reader


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding alternative readers to Kobo devices Ken Maltby Kobo Reader 251 11-28-2024 06:46 PM
good alternative reader app (epub) for note air? polossatik Onyx Boox 22 05-01-2022 10:18 AM
Android devices. Built in e-reader vs. e-reader app. Your preferences? norweger Android Devices 19 11-10-2019 12:12 PM
Reader not Appearing in Devices or App AniPendragon Kobo Reader 13 10-28-2015 10:38 PM
Reader App for Apple Devices Ken401 Sony Reader 7 11-07-2012 10:20 AM


All times are GMT -4. The time now is 01:55 AM.


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