View Single Post
Old 09-01-2022, 03:23 PM   #1
philm
Member
philm began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Jul 2022
Location: France
Device: Kobo Clara
Unhappy HELP: svg file in Sigil for epub on Kobo

I'm new to Sigil and would like to add vector graphics to epub (2 or 3).
I make SVG with inkscape.
It works fine in Sigil preview (except for font), but Kobo displays only a part of it.
I read various threads here and this code seems OK in the xhtml, but not the displayed SVG format:
Code:
<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin" version="1.1" viewBox="0 0 203 297" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
      <image height="297" width="203" xlink:href="../Images/drawing.svg"/>
    </svg>
Any idea?

Here's the result on Kobo Clara:


And here's the epub3:
Attached Files
File Type: epub ebook3.epub (2.7 KB, 138 views)
philm is offline   Reply With Quote