ebook/pdf - Viewer does not support full SVG 1.1

Please post all questions on Help+Manual 8 here

Moderators: Alexander Halser, Tim Green

Post Reply
Ga Bowen
Posts: 180
Joined: Mon Jun 27, 2016 5:05 pm

ebook/pdf - Viewer does not support full SVG 1.1

Unread post by Ga Bowen » Wed Feb 12, 2020 6:01 pm

If I import an SVG (created in draw.io) it outputs beautifully in HTML but struggles with ebook and pdf.

Image

I have plenty of SVGs elsewhere andnot causing any problems. :?

User avatar
Tim Green
Site Admin
Posts: 21273
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: ebook/pdf - Viewer does not support full SVG 1.1

Unread post by Tim Green » Wed Feb 12, 2020 6:11 pm

Hi Ga,

It would be helpful if you could mail us a couple of example SVGs you are having problems with. Please mail them to support AT ec-software.com (replace the AT with @).

Differences between HTML and PDF are to be expected. In normal HTML SVGs are embedded natively. In PDF they have to be rendered by a special SVG rendering engine, and there will be some restrictions.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.

User avatar
Alexander Halser
EC-Software Support
Posts: 3963
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria
Contact:

Re: ebook/pdf - Viewer does not support full SVG 1.1

Unread post by Alexander Halser » Fri Feb 14, 2020 7:52 pm

Hi Ga,

I've answered with a private email. However, it appears that SVG creation with draw.io is not the best option around.

Your small SVG example file created a whooping 23 errors when run through the W3C online validator (https://validator.w3.org/). The file also contains several <div> tags, which are part of the HTML markup, but not part of the SVG markup, so it's not even an SVG, let alone an SVG 1.1. It's no surprise that you get very different rendering results, for every SVG renderer has its own fallbacks and strategies to deal with internal errors.

We recommend a different application to create SVG images.
Alexander Halser
Senior Software Architect, EC Software GmbH

Post Reply