View Single Post
Old 05-05-2022, 03:54 PM   #66
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,257
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by CyberPaul View Post
Here is the piece of html (taken from the original EPUB before converting it to KEPUB with Kobo Touch Extended plugin):

Nothing weird then...
It's the HTML of this bit of text in the kepub on your Kobo that's important. Not the original epub.

I'm going to guess it looks something like this. (The id="kobo.x.x" numbers will be different):
Quote:
<p><span id="kobo.1.1" class="koboSpan">Se non avessi creduto al principio elementare che non si può continuare all’infinito a mandare roba dall’alto in basso senza contraccambiarla con un invio dal basso in alto, mi sarei lasciato vincere dal sentimentalismo. </span><span id="kobo.1.2" class="koboSpan">Ma… </span><em><span id="kobo.1.3" class="koboSpan">Tanstaafl</span></em><span id="kobo.2.1" class="koboSpan">: </span><span id="kobo.2.2" class="koboSpan">i pranzi gratis non esistono, tanto a Bombay quanto sulla Luna.</span></p>
As you can see, it's fragmented into 5 koboSpans. The 2nd koboSpan in red is where the kepub reading app has decided to apply its ugly letter-spacing.

The koboSpan algorithm I use myself would fragment into 3 pieces, like this:
Quote:
<p><span id="kobo.1.1" class="koboSpan">Se non avessi creduto al principio elementare che non si può continuare all’infinito a mandare roba dall’alto in basso senza contraccambiarla con un invio dal basso in alto, mi sarei lasciato vincere dal sentimentalismo. Ma…</span> <em><span id="kobo.1.2" class="koboSpan">Tanstaafl</span></em><span id="kobo.2.1" class="koboSpan">: i pranzi gratis non esistono, tanto a Bombay quanto sulla Luna.</span></p>
and would be less likely (but not guaranteed) to display the problem you saw.

Additionally, if this was my book, I'd always have spaces around an ellipsis. I don't really worry whether others consider that to be "bad" typography. In English books it's not apparent to me that there are any "standards" about such things.

Last edited by jackie_w; 05-05-2022 at 03:59 PM. Reason: typo
jackie_w is offline   Reply With Quote