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 06-03-2020, 08:58 AM   #1
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
kepub rendering issue ( i know its a case of GIGO, but...)

so i have a poor quality text with many embedded spans, mid paragraph, like this:
part of paragraph text <span aria-label="page 17" epub:type="pagebreak" id="page_17" role="doc-pagebreak"></span> remainder of paragraph text

in calibre editor, sigil book view, ADE... they are harmless i.e. invisible.

so in fact i never noticed them until I began to read on Forma , and wondered why I was seeing so many "wrong", often mid sentence, paragraph breaks


it seems that on my forma, i get unwanted line breaks whenever such a span is encountered. i.e. the span is interpreted as a <br> , but is otherwise ignored

i am seeing this in a sideload from calibre, so dunno if its the extended driver , building kepub on the fly, that is struggling, or if it would also happen with a proper kepub source. [ the on-the-fly kepub conversion is not retained in calibre , I would have to look up how to capture a copy, in order to dig deeper

I do recall a similar thread ( but cannot find it now) where similar poor coding but with embedded anchors was causing a font size change on kobo.

i can, and did regex it all away, but what should a renderer do with such junk. Why is it NOT a problem on PC, but becomes a mess on Kobo.

is it the epub:type="pagebreak that is doing the damage, or would an embeeded span withonly a page_ID bit also mess up
stumped is offline   Reply With Quote
Old 06-03-2020, 11:14 AM   #2
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
Possibly related to extra <br/> issue in the current KePub plugin version (c.f., the relevant thread, @davidfor has posted a patched version).
NiLuJe is offline   Reply With Quote
Advert
Old 06-03-2020, 11:29 AM   #3
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
Quote:
Originally Posted by NiLuJe View Post
Possibly related to extra <br/> issue in the current KePub plugin version (c.f., the relevant thread, @davidfor has posted a patched version).
Interesting, thanks. Was not aware of a big that added line breaks.
Was thinking I would need to build a series of test files with different degrees of GiGo span and anchor junk, and see at what point the test files started to bug out

My plugins do update automatically. But maybe that patch is not in a full release yet?

Are we talking about the same plug in?. The one I use is the extended driver that converts epub to kepub as it copies files from calibre to kobo
stumped is offline   Reply With Quote
Old 06-03-2020, 11:49 AM   #4
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
Quote:
Originally Posted by NiLuJe View Post
Possibly related to extra <br/> issue in the current KePub plugin version (c.f., the relevant thread, @davidfor has posted a patched version).
I went and read the relevent thread. I think mine is a different issue. There are no <br> in my junk spans. So it's something ese that is causing the paragraphs to split at span points
stumped is offline   Reply With Quote
Old 06-03-2020, 12:10 PM   #5
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,155
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by stumped View Post
I went and read the relevent thread. I think mine is a different issue. There are no <br> in my junk spans. So it's something ese that is causing the paragraphs to split at span points
The <br/> was one issue that was noticed. Perhaps you are getting a similar issue. It might be worth checking your epub vs. the generated kepub to see if you have the added </p>....<p> pairs. Or convert the epub to kepub using kepubify and see if the problem persists.
DNSB is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rendering issue with Calibre - all fonts italicized thiago.eec Calibre 16 12-07-2020 12:25 PM
kepub Rendering Issue JSWolf Kobo Reader 4 08-20-2016 10:28 AM
Problem using the <svg> in Sigil. Kindle rendering issue? rosshalde Kindle Formats 4 01-08-2015 01:25 PM
Aura HD kepub reading position issue scoky Kobo Developer's Corner 2 06-14-2014 05:28 AM
How to solve EPUB3/EPUB2 rendering issue on Ipad E-Books ePub 2 05-16-2013 07:07 AM


All times are GMT -4. The time now is 11:55 PM.


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