Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-11-2024, 03:21 AM   #1
Patrick V
Junior Member
Patrick V began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Sep 2019
Device: Kobo Aura H2O
Kobo weird rendering of complex styles...

Hi,

I read my epubs on a Kobo Aura H2O and write them as a hobby. I use Sigil and Caliber to edit them.

Here is the result I get on both Sigil and Caliber: when I stretch the text, it is correctly redisplayed:





On my Kobo, the lines overlap...

If I sideload the file in kepub, the behavior is correct... but then I have problems with the notes (styles not rendered in popups).

Should render like this:



I know Calibre/Sigil and Kobo don't use the same rendering engine (webkit vs adobe rmsdk).

I would like to create an epub that behaves correctly on all platforms (probably a dream....)

Is it possible to adapt my xhtml and css codes to achieve this goal for this particular epub?

I attached the test.epub file. Maybe you can test it on another platform ?

Thank you for your advice,

Patrick
Attached Thumbnails
Click image for larger version

Name:	img1.png
Views:	97
Size:	56.9 KB
ID:	206844   Click image for larger version

Name:	img3.png
Views:	92
Size:	47.1 KB
ID:	206845   Click image for larger version

Name:	img2.png
Views:	90
Size:	38.8 KB
ID:	206846  
Attached Files
File Type: epub test.epub (4.0 KB, 24 views)
Patrick V is offline   Reply With Quote
Old 03-12-2024, 12:48 AM   #2
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,544
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Patrick V View Post
Hi,
I read my epubs on a Kobo Aura H2O and write them as a hobby. I use Sigil and Caliber to edit them.

Here is the result I get on both Sigil and Caliber: when I stretch the text, it is correctly redisplayed:
...
On my Kobo, the lines overlap...
In landscape mode? Because in portrait is impossible that lines are not overlapped.

Your epub has many errors; maybe if you first fix them, things work fine in your Kobo Aura.

Quote:
If I sideload the file in kepub, the behavior is correct... but then I have problems with the notes (styles not rendered in popups).
Try fixing the errors because them are in notes.xhtml.

Quote:
I know Calibre/Sigil and Kobo don't use the same rendering engine (webkit vs adobe rmsdk).

I would like to create an epub that behaves correctly on all platforms (probably a dream....)

Is it possible to adapt my xhtml and css codes to achieve this goal for this particular epub?
All platforms? What do you mean? Epub2/epub3? Webkit/RMSDK? Legacy ADE (RMSDK) doesn't support epub3. If for all platforms you mean epub2 for Webkit/RMSDK, well, build an epub for RMSDK and what you get, it will work also for webkit. By the way, Kobo has a nice support for epub3 (at least, Kobo for Android and iOS; I don't know if all eink devices have been updated with the last rendering engine).
RbnJrg is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo stock reader vs KOReader rendering jospalau Kobo Reader 17 04-25-2024 03:38 PM
Kobo weird rendering of complex styles... Patrick V Kobo Reader 1 03-10-2024 03:16 PM
Kobo Nickel css styles Amon_Re Kobo Developer's Corner 4 10-02-2022 08:53 PM
Kobo's font rendering problem... have they fixed it? Elswyth Kobo Reader 16 07-27-2015 08:55 AM
Kobo Glo and publisher's styles arturg Kobo Reader 3 01-31-2014 09:08 PM


All times are GMT -4. The time now is 09:42 AM.


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