Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 06-21-2020, 10:36 AM   #2221
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by jgoguen View Post
I don't know if the class attribute is needed (it's present in KePubs published by Kobo) but those spans and their id attributes are what Kobo uses to save your reading position (and probably anything else involving locations inside books).
And they explicitly don't have any style so that they don't change the layout of the book.
davidfor is offline   Reply With Quote
Old 06-21-2020, 01:01 PM   #2222
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,445
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by davidfor View Post
And they explicitly don't have any style so that they don't change the layout of the book.
Actually, looking at a kepub from Kobo, the kobospan does have a style defined in each text file rather than in a stylesheet.

Code:
<style xmlns="http://www.w3.org/1999/xhtml" type="text/css" id="koboSpanStyle">.koboSpan { -webkit-text-combine: inherit; }</style>
Admittedly, I'm not quite sure just what that bit of CSS means where it is used since the only other time I've seen -webkit-text-combine in the wild, it was used with horizontal to display horizontal elements in a vertical text column (arabic numbers in a vertical Japanese document for example).
DNSB is offline   Reply With Quote
Old 06-21-2020, 04:51 PM   #2223
compurandom
Wizard
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 1,013
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Quote:
Originally Posted by madhatta View Post
not a Linux model.
I would like to point out that when a distribution modifies software and distributes it as buggy, the linux model is to report the bug TO THE DISTRIBUTION that introduced the bug, NOT to the upstream software authors.

You are barking up the wrong tree. Tell your distro to fix their bugs and quit bothering us about stuff we can't fix. Or don't use the buggy version your distro provides and use the official one, like most of the rest of the people here. Or use the much older unix open source model and DOWNLOAD THE SOURCE AND COMPILE IT YOURSELF.

THAT is the linux model, not what you are suggesting.
compurandom is offline   Reply With Quote
Old 06-21-2020, 06:58 PM   #2224
jxall
Enthusiast
jxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beauty
 
jxall's Avatar
 
Posts: 46
Karma: 32534
Join Date: Jan 2020
Device: Kobo Clara HD (patched, 100% kepubs); Calibre 5 (Win10)
Quote:
Originally Posted by davidfor View Post
Are the books definitely on the device? Can you see them on the device before you eject? Are you sending new books, or replacing exiting copies?

The quick import could be because the first book failed to be processed correctly. That blocks the rest from being imported. And, if this was happening before, it might be a leftover from a previously sideloaded batch. You will probably need to remove these books, work out which are triggering the problem, fix it and send them again. Unfortunately, the only way I know to do this, is send the books in small batches until you find the problem book.
Either Calibre or Windows explorer tell me that the books are definitely on the device. The synced ebooks end up on the Kobo and stay there forever or until I delete them using Calibre... They just can't be seen and browsed from the device itself.

Unfortunately I have to report that this problem of mine doesn't seem to be book-related or batch-related, because all these recent ebooks loaded just fine (except for the spacing issue) before the latest KTE update.
I have just tried to convert + sync newer books; to delete + re-sync ebooks converted months ago; and even to delete + re-convert + sync books that used to work in the past: none of the synced book can be seen from the device.

Could it be something just metadata-related or driver-related? I wish I could help you better than this, but I am not an expert of debugging Calibre and ereaders. I'm a noob even at using these things!

Am I the only one experiencing this issue, by any chance? If it's like that then I'll just factory reset my device...
jxall is offline   Reply With Quote
Old 06-21-2020, 07:08 PM   #2225
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 jxall View Post
Either Calibre or Windows explorer tell me that the books are definitely on the device. The synced ebooks end up on the Kobo and stay there forever or until I delete them using Calibre... They just can't be seen and browsed from the device itself.

Unfortunately I have to report that this problem of mine doesn't seem to be book-related or batch-related, because all these recent ebooks loaded just fine (except for the spacing issue) before the latest KTE update.
I have just tried to convert + sync newer books; to delete + re-sync ebooks converted months ago; and even to delete + re-convert + sync books that used to work in the past: none of the synced book can be seen from the device.

Could it be something just metadata-related or driver-related? I wish I could help you better than this, but I am not an expert of debugging Calibre and ereaders. I'm a noob even at using these things!

Am I the only one experiencing this issue, by any chance? If it's like that then I'll just factory reset my device...
Try the following and see if it works. Use kepubify to convert the ePub to KePub and then load the KePub onto your Kobo to see if it works. Use one of the ones you tried before that didn't work.

Here is the thread on kepubify.

https://www.mobileread.com/forums/sh...d.php?t=326652
JSWolf is offline   Reply With Quote
Old 06-21-2020, 07:08 PM   #2226
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 jxall View Post
Either Calibre or Windows explorer tell me that the books are definitely on the device. The synced ebooks end up on the Kobo and stay there forever or until I delete them using Calibre... They just can't be seen and browsed from the device itself.

...

Am I the only one experiencing this issue, by any chance? If it's like that then I'll just factory reset my device...
I am not experiencing this problem with my Kobo Forma. I just added a book to make sure the problem wasn't newly introduced with the new KTE driver or the latest version of Calibre (4.19), and the kepub showed up just fine on my device. Sorry I can't help.
icallaci is offline   Reply With Quote
Old 06-21-2020, 07:26 PM   #2227
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@jxall: Are you seeing the "Processing new content" screen when ejecting your device after sending new books?

The system logs should shed some light on what the Kobo thinks is happening (in particular, the content import process). Search for devmodeon before the whole process, then plug it back on after having sent some books, and check the system logs in the .kobo folder.
NiLuJe is offline   Reply With Quote
Old 06-21-2020, 07:57 PM   #2228
seanbob
Enthusiast
seanbob is on a distinguished road
 
Posts: 27
Karma: 52
Join Date: Jun 2009
Device: Sony PRS-650
Thanks for all the efforts to provide support for Kobo devices in Calibre!

I believe that I've found at least two other tag-related bugs (similar to the recent <br/> issue) that haven't been discussed yet. Unneccessary </p> tags are being added prior to some <a> and <span> tags during EPUB to KEPUB conversion. I'll post example snippets below that illustrate a single paragraph, but can also provide scrambled EPUBs if necessary.

I'm running Calibre v4.19 and the latest plugin version (KTE v3.2.11). Each has been present since at least KTE v3.2.7. If it matters, the formatting appears correct when testing the conversion with kepubify.

Examples
Spoiler:
<a> Example (Original HTML):
<p class="indent"><em>I had fully determined at the conclusion of</em> The Memoirs <em>to bring Holmes<a id="GBS.1670.02"/> to an end, as I felt that my literary energies should not be directed too much into one channel. That pale, clear-cut face and loose-limbed figure were taking up an undue share of my imagination. I did the deed, but fortunately no coroner had pronounced upon the remains, and so, after a long interval, it was not difficult for me to respond to the flattering demand and to explain my rash act away.<a id="GBS.1670.03"/> I have never regretted it, for I have not in actual practice found that these lighter sketches have prevented me from exploring and finding my limitations in such varied branches of literature as history, poetry, historical novels, psychic research, and the drama. Had Holmes never existed I could not have done more, though he may perhaps have stood a little in the way of the recognition of my more<a id="GBS.1670.04"/> serious literary work</em>.</p>

<a> Example (KTE Converted):
<p class="indent"><em><span class="koboSpan" id="kobo.50.1">I had fully determined at the conclusion of</span></em><span class="koboSpan" id="kobo.51.1"> The Memoirs </span><em><span class="koboSpan" id="kobo.52.1">to bring Holmes</span><a id="GBS.1670.02"></a></em></p><em><a id="GBS.1670.02"><span class="koboSpan" id="kobo.55.1"> to an end, as I felt that my literary energies should not be directed too much into one channel. </span><span class="koboSpan" id="kobo.55.2">That pale, clear-cut face and loose-limbed figure were taking up an undue share of my imagination. </span><span class="koboSpan" id="kobo.55.3">I did the deed, but fortunately no coroner had pronounced upon the remains, and so, after a long interval, it was not difficult for me to respond to the flattering demand and to explain my rash act away.</span></a><a id="GBS.1670.03"></a><span class="koboSpan" id="kobo.57.1"> I have never regretted it, for I have not in actual practice found that these lighter sketches have prevented me from exploring and finding my limitations in such varied branches of literature as history, poetry, historical novels, psychic research, and the drama. </span><span class="koboSpan" id="kobo.57.2">Had Holmes never existed I could not have done more, though he may perhaps have stood a little in the way of the recognition of my more</span><a id="GBS.1670.04"></a><span class="koboSpan" id="kobo.59.1"> serious literary work</span></em><span class="koboSpan" id="kobo.61.1">.</span><p></p>

<a> Example (Kepubify Converted):
<p class="indent"><em><span class="koboSpan" id="kobo.5.1">I had fully determined at the conclusion of</span></em><span class="koboSpan" id="kobo.5.2"> The Memoirs </span><em><span class="koboSpan" id="kobo.5.3">to bring Holmes</span><a id="GBS.1670.02"></a><span class="koboSpan" id="kobo.5.4"> to an end, as I felt that my literary energies should not be directed too much into one channel. </span><span class="koboSpan" id="kobo.5.5">That pale, clear-cut face and loose-limbed figure were taking up an undue share of my imagination. </span><span class="koboSpan" id="kobo.5.6">I did the deed, but fortunately no coroner had pronounced upon the remains, and so, after a long interval, it was not difficult for me to respond to the flattering demand and to explain my rash act away.</span><a id="GBS.1670.03"></a><span class="koboSpan" id="kobo.5.7"> I have never regretted it, for I have not in actual practice found that these lighter sketches have prevented me from exploring and finding my limitations in such varied branches of literature as history, poetry, historical novels, psychic research, and the drama. </span><span class="koboSpan" id="kobo.5.8">Had Holmes never existed I could not have done more, though he may perhaps have stood a little in the way of the recognition of my more</span><a id="GBS.1670.04"></a><span class="koboSpan" id="kobo.5.9"> serious literary work</span></em><span class="koboSpan" id="kobo.5.10">.</span></p>


<span> Example (Original XHTML):
<p class="indent">Todd smiled as the homework assignments were wiped away. The Ultimate Test was canceled. His name was removed from the discipline <span class="right_1" epub:type="pagebreak" id="page_7" title="7"/>list, and even the word DISCIPLINE soon disappeared.</p>

<span> Example (KTE Converted):
<p class="indent"><span class="koboSpan" id="kobo.86.1">Todd smiled as the homework assignments were wiped away. </span><span class="koboSpan" id="kobo.86.2">The Ultimate Test was canceled. </span><span class="koboSpan" id="kobo.86.3">His name was removed from the discipline </span><span epub:type="pagebreak" title="7" class="right_1" id="page_7"></span></p><span class="koboSpan" id="kobo.88.1">list, and even the word DISCIPLINE soon disappeared.</span><p></p>

<span> Example (Kepubify Converted):
<p class="indent"><span class="koboSpan" id="kobo.48.1">Todd smiled as the homework assignments were wiped away. </span><span class="koboSpan" id="kobo.48.2">The Ultimate Test was canceled. </span><span class="koboSpan" id="kobo.48.3">His name was removed from the discipline </span><span class="right_1" epub:type="pagebreak" id="page_7" title="7"></span><span class="koboSpan" id="kobo.48.4">list, and even the word DISCIPLINE soon disappeared.</span></p>
seanbob is offline   Reply With Quote
Old 06-21-2020, 09:05 PM   #2229
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by DNSB View Post
Actually, looking at a kepub from Kobo, the kobospan does have a style defined in each text file rather than in a stylesheet.

Code:
<style xmlns="http://www.w3.org/1999/xhtml" type="text/css" id="koboSpanStyle">.koboSpan { -webkit-text-combine: inherit; }</style>
Admittedly, I'm not quite sure just what that bit of CSS means where it is used since the only other time I've seen -webkit-text-combine in the wild, it was used with horizontal to display horizontal elements in a vertical text column (arabic numbers in a vertical Japanese document for example).
My first reaction: Always check before you make some statement.

But, then I check. The three books I looked at didn't have the above statement. And one didn't have the class in the spans. They were just:
Code:
<span id="kobo.8.1">
Which I hadn't seen before.

But, even with that class defined, aren't all the styles just going to pass through it?
davidfor is offline   Reply With Quote
Old 06-21-2020, 10:08 PM   #2230
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,445
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by davidfor View Post
My first reaction: Always check before you make some statement.
I can't remember which one of the extensions to Murphy's Law covers this situation.

Quote:
Originally Posted by davidfor View Post
But, then I check. The three books I looked at didn't have the above statement. And one didn't have the class in the spans. They were just:
Code:
<span id="kobo.8.1">
Which I hadn't seen before.

But, even with that class defined, aren't all the styles just going to pass through it?
In theory, the cascade should just pass through. In real life, things gang aft agley.
DNSB is offline   Reply With Quote
Old 06-22-2020, 01:22 AM   #2231
thatbend
Junior Member
thatbend began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2020
Device: Kobo Clara HD
I am having the same issue as jxall on two separate Clara HDs. Converting with kepubify and sideloading manually, bypassing Calibre altogether, does let the book be readable on the device.
thatbend is offline   Reply With Quote
Old 06-22-2020, 04:33 AM   #2232
jxall
Enthusiast
jxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beautyjxall does all things with Zen-like beauty
 
jxall's Avatar
 
Posts: 46
Karma: 32534
Join Date: Jan 2020
Device: Kobo Clara HD (patched, 100% kepubs); Calibre 5 (Win10)
Quote:
Originally Posted by JSWolf View Post
Try the following and see if it works. Use kepubify to convert the ePub to KePub and then load the KePub onto your Kobo to see if it works. Use one of the ones you tried before that didn't work.
Quote:
Originally Posted by thatbend View Post
I am having the same issue as jxall on two separate Clara HDs. Converting with kepubify and sideloading manually, bypassing Calibre altogether, does let the book be readable on the device.
I ran some tests using Kepubify and this is what I got:
  • conversion using Kepubify + copy/paste to Kobo main folder: Kobo sees the ebook (just like @thatbend says)
  • conversion using Kepubify + manual editing of the file extension to prevent unneeded auto-conversion in Calibre (edited from .kepub.epub to just .kepub) + added the .kepub to Calibre library + synced the .kepub to Kobo (without re-converting anything): Kobo doesn't see the ebook
As I suspected, the problem doesn't have anything to do with the conversion itself, but most likely with the way metadata is managed or sent from Calibre to the device.

Quote:
Originally Posted by NiLuJe View Post
@jxall: Are you seeing the "Processing new content" screen when ejecting your device after sending new books?

The system logs should shed some light on what the Kobo thinks is happening (in particular, the content import process). Search for devmodeon before the whole process, then plug it back on after having sent some books, and check the system logs in the .kobo folder.
Yes, I always get the processing screen but it is always suspiciously fast (it lasts 3 seconds maximum) - no matter if I sync 1 ebook or 50 ebooks.

Here's an extract of the log, going from
Code:
Pruning file "file:///mnt/onboard/old_ebook_filename.kepub.epub"
(i.e. the moment of the sideloading of the new ebook) to the very end:

20200622_1011_log.txt
jxall is offline   Reply With Quote
Old 06-22-2020, 10:00 AM   #2233
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Quote:
Originally Posted by seanbob View Post
I believe that I've found at least two other tag-related bugs (similar to the recent <br/> issue) that haven't been discussed yet. Unneccessary </p> tags are being added prior to some <a> and <span> tags during EPUB to KEPUB conversion. I'll post example snippets below that illustrate a single paragraph, but can also provide scrambled EPUBs if necessary.
Can you post a scrambled ePub, a scrambled copy of the converted KePub, and the calibre debug log containing only converting the book?
jgoguen is offline   Reply With Quote
Old 06-22-2020, 10:05 AM   #2234
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Quote:
Originally Posted by jxall View Post
As I suspected, the problem doesn't have anything to do with the conversion itself, but most likely with the way metadata is managed or sent from Calibre to the device.
If it's metadata it may not be this driver. Can you do a few things:
  • Remove all problematic books from the device
  • Restart calibre in debug mode
  • Send one single problematic book to the Kobo, then close calibre (to get the debug log) and restart it normally
  • Attach a scrambled copy of the book and the calibre debug log
jgoguen is offline   Reply With Quote
Old 06-22-2020, 10:52 AM   #2235
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Quote:
Originally Posted by davidfor View Post
But, even with that class defined, aren't all the styles just going to pass through it?
After some digging, it seems "-webkit-text-combine" has only two values (other than the implicit "inherit" available on all inheritable properties): "horizontal" and "none". "none" is the default, "horizontal" is the same as the standard CSS property "text-combine-upright: all" (which is currently the only valid value other than "none" according to the standard; CSS4 includes a "digits" keyword that makes it apply only to digits, e.g. "digits 2" and "digits" are the same, "digits 4" applies to up to 4 consecutive digits).

According to the "text-combine-upright" standard, this breaks across box boundaries; "<p>This is text</p>" could have it applied, but "<p>This is <span>text</span> in a box</p>" would break and user agents should treat it as though "text-combine-upright" were set to "none". That doesn't seem to be always true in practice, at least Chrome attempts to do the intuitive thing and effectively sets the default values as "-webkit-text-combine: inherit" and "text-combine-upright: inherit". Kobo's style declaration seems to be either saying the ACCESS renderer adheres to the standard or is acknowledging that books may be read on devices which do.

So yes, in theory this should be a no-op for most books. But it does have me wondering if I should be trying to make sure that style declaration is present.
jgoguen is offline   Reply With Quote
Reply

Tags
error, kobo aura one


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 04:50 PM.


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