View Single Post
Old 09-05-2022, 09:12 AM   #26
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,849
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by philm View Post
That is really cool! Thank you Ruben, @RbnJrg!
No problem

Quote:
I don't need to stick to epub3. I though it was more recent, with more features
Indeed, epub3 is more modern and it has many more features than epub2 (in fact, all the epubs I build to me, now are epub3). The "issue" with epub3 is that you only could read it properly in your Kobo as .kepub.

Quote:
You're right, text to path fixes everything on Kobo.
To convert text to path is an universal way to be sure that the svg will be read for any ereader that supports svg because not all devices supports svg text (for example, Kindle with .kfx).

Quote:
Even img with width is working now..
SVG wrappers are mainly used with non .svg images and/or as an "imperfect" way of vertical center an image on a page (I say imperfect because it centers on the <div>, not on <body>; to center on body are neccessaries more css properties than the simple svg wrapper). In your case, if your image has not to be center vertically, is a good idea to employ the <img> tag instead of a svg wrapper.

Quote:
I wonder if it also work on other e-reader? I only have a Kobo and I use Linux.
It will work on any ereader with support for svg (in Cool Reader, for example, it won't work ) The epub I posted (an epub2), it will work even in those ereaders based on ADE Legacy. Below you can watch a new, another epub, this time an epub3. Try to open it in your Kobo, and in the Sigil plugins, Readium, Bibi and EpubJS. Open it also with Calibre. And since you are working in Linux, open the epub on Foliate and Gnome-books. If you want to do more experiments, then open the epub3 in the apps PocketBook, Reasily, Lithium, Overdrive, Gitden Reader (there is not in PlayStore) and Aldiko Next (it must be Aldiko Next, not the Aldiko Classic); all these apps support epub3. After all that work, you'll have a better aproximation to your question

EDIT: before opening the ebook in your Kobo, rename the .epub as .kepub.
Attached Files
File Type: epub newEpub3.epub (3.6 KB, 57 views)

Last edited by RbnJrg; 09-05-2022 at 09:19 AM.
RbnJrg is offline   Reply With Quote