Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-17-2016, 11:05 PM   #31
icallaci
Guru
icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.
 
Posts: 819
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
Quote:
Originally Posted by jackie_w View Post
The occasional weird word/letter spacing is a bit distracting, however I'm going to persevere with it for now. Perhaps it's just the book I'm currently reading. I only ever read full-justified and it makes heavy use of m-dashes. If I don't set optimizeLegibility the random space often inserted after m-dashes (but not before) distracts me even more. It makes the text look "broken" because it's not symmetrical. It might not be so bad for a book which uses n-dashes which already have spaces on both sides. First world problems, eh
Agreed. For some reason, the weird spacing of em dashes and ellipses is more distracting to me than the (very) occasional wide letter spacing. The only time I noticed a problem was when the text read "12:4 5 a.m." (note the space between the 4 and the 5), but that's been the only real oddness so far, after about two hours of reading with the new patch. I am a convert. Thanks to everyone who figured this one out.
icallaci is offline   Reply With Quote
Old 11-18-2016, 02:53 AM   #32
GERGE
Guru
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: 733
Karma: 5797160
Join Date: Jun 2010
Location: Istanbul
Device: Kobo Libra
Spacing is really a problem for me.
GERGE is offline   Reply With Quote
Advert
Old 11-18-2016, 03:30 AM   #33
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Tried this out, ligatures are nice and all, but I still went running back to RMSDK due to word/letter spacing.

My ideal epub reader would have the features of a modern web browser (HTML5 + CSS3), which I believe the Kepub render has, with the typography of TeX and its variants. Kerning, ligatures, Knuth & Plass (TeX) linebreaking, microtype (as used in pdfTeX and LuaTeX)? Yes please!

Unfortunately, no one seems willing or able to create such reading software

Typographically, RMSDK seems to be the best available software... just a shame about the lack of features.
sherman is offline   Reply With Quote
Old 11-18-2016, 05:31 AM   #34
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: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
What I would like to see is the ability to use the features in a OTF font. So for example, being able to use smallcaps in an OPT that has smallcaps as a feature.
JSWolf is offline   Reply With Quote
Old 11-18-2016, 06:51 AM   #35
chrisridd
Guru
chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.
 
chrisridd's Avatar
 
Posts: 977
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
What does the underlying HTML actually look like in the cases of strange spacing?
chrisridd is offline   Reply With Quote
Advert
Old 11-18-2016, 09:10 AM   #36
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by GeoffR View Post
Good:
* Ligatures work.
* The problem with lines containing em-dashes, ellipses, etc. not being properly justified is fixed.

Bad:
* Some words at the beginning of a line have extra-wide letter spacing.
* The spacing after the end of a sentence is sometimes much smaller than the spacing between words in the sentence.
Extra info for anyone who decides to go ahead and use the optimizeLegibility option despite its niggles, here's an extra item for the 'Good' side:

Good:
* optimizeLegibility seems to be able to access your font's kerning info (if it has any), even if you haven't forcibly added Old-style Kerning pairs.
Attached Thumbnails
Click image for larger version

Name:	no_optimize.png
Views:	637
Size:	132.4 KB
ID:	153086   Click image for larger version

Name:	optimizeLegibility.png
Views:	631
Size:	132.2 KB
ID:	153087  
jackie_w is offline   Reply With Quote
Old 11-18-2016, 11:35 AM   #37
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by chrisridd View Post
What does the underlying HTML actually look like in the cases of strange spacing?
I don't think there's a simple answer to that. Someone feel free to correct me if the following isn't right.

The KoboTouchExtended plugin's format-shift from epub to kepub 'fragments' the HTML text content and wraps each fragment in a Kobo span, e.g <span class="koboSpan" id="kobo.2.1">The cat sat on the mat.</span>.

Understandably KTE tries to match the algorithm Kobo themself use, which appears to be, basically, a simplistic attempt to fragment into sentences. Unfortunately there are many ways for this algorithm to create over-aggressive fragmentation. For example, the Kobo-style algorithm would result in the single sentence (admittedly contrived )
Code:
<p>“It’s 1:05 p.m. on Friday ... already too late!”</p>
becoming
Code:
<p><span class="koboSpan" id="kobo.1.1">“It’s 1:</span><span class="koboSpan" id="kobo.1.2">05 p.</span><span class="koboSpan" id="kobo.1.3">m. </span><span class="koboSpan" id="kobo.1.4">on Friday .</span><span class="koboSpan" id="kobo.1.5">.</span><span class="koboSpan" id="kobo.1.6">. </span><span class="koboSpan" id="kobo.1.7">already too late!”</span></p>
It has been split into 7 fragments where 1 would probably be sufficient. If a couple of words in the original sentence had had italic tags around them the fragmentation would have been even worse.

I don't think this aggressive fragmentation helps the kepub renderer's attempts at attractive full-justification. As GeoffR demo'd, it seems to be even less attractive when optimizeLegibility is enabled. In addition, the larger your preferred font-size, the worse it's likely to get. Standard epubs don't have any of these koboSpans getting in the way.

Just as an exercise (entirely non-scientific) I hacked my copy of KTE to try a simple, less aggressive fragmentation algorithm. You can see the results of a single page below. Kobo-algorithm on the left, less aggressive algorithm on the right. optimizeLegibility is enabled on both of them.

As you can see there are 3 lines (first, last, 8th-from-bottom) where the letter-spacing of the first word is no longer quite so odd. A sample of one page doesn't prove anything, of course. In addition I have no idea whether it would have a really bad effect on other things, e.g. annotations, bookmarks, text selection etc.
Attached Thumbnails
Click image for larger version

Name:	kobo_style.png
Views:	711
Size:	210.4 KB
ID:	153088   Click image for larger version

Name:	jackiew_style.png
Views:	689
Size:	208.7 KB
ID:	153089  
jackie_w is offline   Reply With Quote
Old 11-18-2016, 07:56 PM   #38
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by jackie_w View Post
Good:
* optimizeLegibility seems to be able to access your font's kerning info (if it has any), even if you haven't forcibly added Old-style Kerning pairs.
I wondered about that, because the kerning did look different in some places when I flicked back-and-forth between screenshots taken with and without optimizeLegibility. Generally it looked better with optimizeLegibility.

Edit: On second thoughts, the difference might just have been due to the presence of ligatures which were kerned differently to the individual letters. But it would still be handy not to have to add old-style kern tables to the fonts.

Last edited by GeoffR; 11-18-2016 at 08:02 PM. Reason: On second thoughts, ...
GeoffR is offline   Reply With Quote
Old 11-18-2016, 10:55 PM   #39
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
I tried using
Code:
body { text-rendering: optimizeSpeed; }
instead of
Code:
body { text-rendering: optimizeLegibility; }
and optimizeSpeed appears to fix the em-dash justification problem without the spacing problems caused by optimizeLegibility. It doesn't enable ligatures, Edit: and kerning no longer works.

Last edited by GeoffR; 11-18-2016 at 11:24 PM. Reason: kerning no longer works
GeoffR is offline   Reply With Quote
Old 11-20-2016, 05:02 AM   #40
anacreon
Guru
anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.
 
anacreon's Avatar
 
Posts: 978
Karma: 3475832
Join Date: May 2012
Location: France
Device: Elipsa, Sage, Libra 2
Question page number in kepubs

I don't know that this is the right place to mention it, but I had a strange experience with page numbers in kepubs. I usually like the page number per chapter, but I was reading a book with many htmls within each chapter, and I decided to go with page number per book, and it was strange: it went from 2 to 11 (without skipping any part in the book), and at the end the last page in the book was a few pages less than the total. I tried it with another kepub and it was the same. Anyone with the same experience? What is wrong, and is it possible to correct it?
anacreon is offline   Reply With Quote
Old 11-20-2016, 12:08 PM   #41
gilster
Connoisseur
gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'
 
gilster's Avatar
 
Posts: 77
Karma: 10000
Join Date: Mar 2009
Device: Kindle
Same experience here. In fact, I noticed just last night that pagination went from 3 to 11 with one page turn. I've seen this on three different books and don't have a clue about what's causing it.
gilster is offline   Reply With Quote
Old 11-20-2016, 08:37 PM   #42
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
I've seen page number and stats weirdness in some books caused by an inconsistency between the book's OPF spine and NCX toc, such as spine items with no corresponding item in the toc, toc items with no corresponding entry in the spine, or the order of toc items not matching the spine order.

For EPUB3 books the NAV toc probably has to be consistent with the NCX toc (if it has one) and spine too.

Last edited by GeoffR; 11-20-2016 at 08:51 PM. Reason: NCX toc (if it has one)
GeoffR is offline   Reply With Quote
Old 11-21-2016, 05:52 PM   #43
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: 79,796
Karma: 146391129
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 GeoffR View Post
I've seen page number and stats weirdness in some books caused by an inconsistency between the book's OPF spine and NCX toc, such as spine items with no corresponding item in the toc, toc items with no corresponding entry in the spine, or the order of toc items not matching the spine order.

For EPUB3 books the NAV toc probably has to be consistent with the NCX toc (if it has one) and spine too.
It's actually easier to delete the NAV ToC and convert the ePub 3 to ePub 2 than to edit the NAV ToC.
JSWolf is offline   Reply With Quote
Old 11-21-2016, 06:40 PM   #44
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by JSWolf View Post
It's actually easier to delete the NAV ToC and convert the ePub 3 to ePub 2 than to edit the NAV ToC.
I don't believe there's any need to do that for calibre users. The calibre TOC Editor automatically keeps the NCX and NAV files correct and in sync in epub3 books.
jackie_w is offline   Reply With Quote
Old 11-21-2016, 08:37 PM   #45
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,391
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by jackie_w View Post
Quote:
Originally Posted by JSWolf View Post
It's actually easier to delete the NAV ToC and convert the ePub 3 to ePub 2 than to edit the NAV ToC.
I don't believe there's any need to do that for calibre users. The calibre TOC Editor automatically keeps the NCX and NAV files correct and in sync in epub3 books.
Pretty much the same for those who use Sigil. The nasty bit is that this assumes that TOC entries are done use using header tags and not generated manually. Sadly manual TOCs are too common and often have weird errors in them. As in one recent ebook, where the nav.xhtml and toc.ncx were both present and both were incorrect and out of step with each other. This particular ebook also had the content split at random spots so it was easier to merge the whole futtering mess into one file and resplit it at chapter boundaries.
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub vs kepub aceflor Kobo Reader 47 11-21-2014 06:34 AM
Aura HD Kepub or Epub Nick_1964 Kobo Reader 18 04-25-2014 04:39 AM
Touch .kepub.epub davidfor Kobo Reader 233 01-12-2014 08:15 AM
koboish: Script that convert your epub to a kepub.epub with the correct bookcover !! the_m Kobo Reader 4 01-24-2013 10:01 PM
Glo KePub vs ePub Big McLargeHuge Kobo Reader 11 11-16-2012 08:10 PM


All times are GMT -4. The time now is 10:02 PM.


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