![]() |
#3091 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,457
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
PHP Code:
Quote:
Without the italics we see Quote:
|
|||
![]() |
![]() |
![]() |
#3092 | |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Nov 2024
Device: Kobo Libre Colour
|
Quote:
|
|
![]() |
![]() |
![]() |
#3093 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,457
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
This site discusses unicode (and thus HTML) space characters. Of course I might be entirely wrong and the problem is elsewhere. |
|
![]() |
![]() |
![]() |
#3094 | |
Connoisseur
![]() ![]() Posts: 61
Karma: 198
Join Date: Feb 2022
Device: Kobo Sage (prev. Kindle PW5)
|
Quote:
(Also, Literata Book works better for adjustable line-spacing than Literata 3.0. You can get the OTF of Literata Book at FontSquirrel.) |
|
![]() |
![]() |
![]() |
#3095 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Dec 2024
Device: Kobo Libra Color
|
Let me show you an example of the missing space.
Original epub: Jenny. <span class="italic">The 3.7.1: Jenny.</span><span class="koboSpan" id="kobo.69.2"></span><span class="koboSpan" id="kobo.69.3"> </span><span class="koboSpan" id="kobo.69.4"></span><span class="italic"><span class="koboSpan" id="kobo.70.1">The 3.7.2: Jenny.</span><span class="italic"><span class="koboSpan" id="kobo.70.1">The So before the last release, the space after the dot get an own group. In the last release, you drop that space without making a group of it. |
![]() |
![]() |
![]() |
#3096 | |
Connoisseur
![]() Posts: 57
Karma: 10
Join Date: Aug 2016
Device: Kobo Libra Colour
|
Quote:
webkitTextRendering=geometricPrecision or webkitTextRendering=optimizelegibility in "Kobo eReader.conf" could make any difference? |
|
![]() |
![]() |
![]() |
#3097 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,661
Karma: 169712392
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I did some playing with the issue with kepub converted epubs and missing spaces when italics were used.
Here's the original epub file using span, naked i, naked em and i and em with a class: Code:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops"> <head> <title>Kepub Italics Space Test</title> <link href="../Styles/stylesheet.css" type="text/css" rel="stylesheet"/> </head> <body> <p>Jenny. <span class="italic">The </span></p> <p>Jenny. <i>The </i></p> <p>Jenny. <i class="italic">The </i></p> <p>Jenny. <em>The </em></p> <p>Jenny. <em class="italic">The </em></p> </body> </html> Code:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops"> <head> <title>Kepub Italics Space Test</title> <link href="../Styles/stylesheet.css" type="text/css" rel="stylesheet"/> <style type="text/css" class="kobostylehacks">div#book-inner { margin-top: 0; margin-bottom: 0;}</style> </head> <body> <div id="book-columns"> <div id="book-inner"> <p><span class="koboSpan" id="kobo.1.1">Jenny. </span><span class="italic"><span class="koboSpan" id="kobo.1.2">The </span></span></p> <p><span class="koboSpan" id="kobo.2.1">Jenny. </span><i><span class="koboSpan" id="kobo.2.2">The </span></i></p> <p><span class="koboSpan" id="kobo.3.1">Jenny. </span><i class="italic"><span class="koboSpan" id="kobo.3.2">The </span></i></p> <p><span class="koboSpan" id="kobo.4.1">Jenny. </span><em><span class="koboSpan" id="kobo.4.2">The </span></em></p> <p><span class="koboSpan" id="kobo.5.1">Jenny. </span><em class="italic"><span class="koboSpan" id="kobo.5.2">The </span></em></p> </div> </div> </body> </html> Code:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops"> <head> <title>Kepub Italics Space Test</title> <link href="../Styles/stylesheet.css" type="text/css" rel="stylesheet"/> <link rel="stylesheet" href="../../kte-css/stylehacks.css" type="text/css"/> </head> <body> <div id="book-columns"> <div id="book-inner"> <p><span class="koboSpan" id="kobo.2.1">Jenny.</span><span class="italic"><span class="koboSpan" id="kobo.3.1">The</span></span></p> <p><span class="koboSpan" id="kobo.5.1">Jenny.</span><i><span class="koboSpan" id="kobo.6.1">The</span></i></p> <p><span class="koboSpan" id="kobo.8.1">Jenny.</span><i class="italic"><span class="koboSpan" id="kobo.9.1">The</span></i></p> <p><span class="koboSpan" id="kobo.11.1">Jenny.</span><em><span class="koboSpan" id="kobo.12.1">The</span></em></p> <p><span class="koboSpan" id="kobo.14.1">Jenny.</span><em class="italic"><span class="koboSpan" id="kobo.15.1">The</span></em></p> </div> </div> </body> </html> |
![]() |
![]() |
![]() |
#3098 | |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Nov 2024
Device: Kobo Libre Colour
|
Quote:
Last edited by Runnerbeen; 12-17-2024 at 03:26 AM. |
|
![]() |
![]() |
![]() |
#3099 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Nov 2024
Device: Kobo Libre Colour
|
I should have mentioned before that I added the geometric precision code into the config file. In the end removing the variable font I was using and installing the four separate fonts seems to have worked though there still seems to be some odd and uneven spacing issues in places. Thank you
|
![]() |
![]() |
![]() |
#3100 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Nov 2024
Device: Kindle PaperWhite 2 (2013)
|
Quote:
Sending a converted on-the-fly kepub via calibre to my Kobo Libra 2 delete the spaces before italic words! Versione 3.7.2 |
|
![]() |
![]() |
![]() |
#3101 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Nov 2024
Device: Kobo Libre Colour
|
I have rolled back to version 3.7.0 and edited a book using Sigil, converted it and now the italic issue is back again. It's only appearing in the new book I've transferred but the spaces before italics are missing again.
|
![]() |
![]() |
![]() |
#3102 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 97
Karma: 21870
Join Date: Apr 2021
Location: Spain
Device: Kobo Libra 2
|
I would like to add that since I updated the plugins my Libra 2 keeps freezing every now and then. This last time it froze when highlighting a sentence (it contained a word in italics): it has unintentionally highlighted all the text to the end of the page and I can no longer unhighlight it or turn the page; not even after restarting. I had to restart, delete the book and install a previous version of the plugin.
|
![]() |
![]() |
![]() |
#3103 |
Member
![]() Posts: 10
Karma: 10
Join Date: Jul 2010
Location: Amsterdam
Device: Kobo Sage/ Kobo Elipsa
|
I also had issues with spaces disappearing, not just italics, but also at other places where the original had a <span> of some sort. Checking the code of the kepub with Sigil showed that the spaces were actually missing from the html.
After reverting to version 3.7.1 (and a lot of deleting and re-adding) I have my spaces back. I hope this helps someone. The github has a full archive for anyone who wants to try reverting. Love this plugin! I am also very grateful for this forum, as it helped me figure out that the plugin might be causing issues. I almost made a complaint to the bookseller, before realizing that the original epub has none of the problems I saw on my kobo reader. |
![]() |
![]() |
![]() |
#3104 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,661
Karma: 169712392
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
For now, I've settled for using kepubify to convert the few books I use kepub for (basically, they have large images that I want to be able to zoom) and reverted to using the KoboTouch driver instead of the KoboTouchExtended driver.
|
![]() |
![]() |
![]() |
#3105 |
Member
![]() Posts: 10
Karma: 10
Join Date: Jul 2010
Location: Amsterdam
Device: Kobo Sage/ Kobo Elipsa
|
Rolling back to version 3.7.1 has introduced a new problem. Styles that use + are broken on my Kobo Sage.
For instance: .ff-plat + .ff-plat { text-indent: 1.5em; } The indent disappears because there are extra <span> sections introduced between the paragraphs. I'm trying 3.7.0 now, which hasn't given me problems with italics so far. Is there a better way to report these errors. I'm not very familiar with doing this. |
![]() |
![]() |
![]() |
Tags |
error, kobo aura one |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Device Driver Update | davidfor | Devices | 284 | 05-24-2019 05:24 PM |
[Device Plugin] Kindle 2, 3, 4, Touch Device Interface MBP Update Mod | cryzed | Plugins | 7 | 10-28-2012 04:58 PM |
[Device Interface Plugin] Update for Nook Color Driver | jmricker | Plugins | 0 | 10-22-2011 10:11 AM |
Touch Kobo Touch Extended 2 Year Warranty - Is it worth the $34.99? | EverC | Kobo Reader | 11 | 08-31-2011 11:47 PM |
Touch Kobo Touch Extended Warranty Program | SensualPoet | Kobo Reader | 1 | 07-17-2011 04:08 AM |