View Single Post
Old 05-27-2023, 07:08 PM   #3
elibrarian
Imperfect Perfectionist
elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.
 
elibrarian's Avatar
 
Posts: 668
Karma: 863576
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
Quote:
Originally Posted by KevinH View Post
Using add cover adds an svg wrapped cover image to the epub3, adds the correct cover semantics, add the proper epub3 manifest properties. It passes all epubcheck cover related checks.

My guess is your ADE version is quite old and it probably does not support svg which is a required part of the epub3/html5 spec. Please test with a known epub3 compliant reader such as Thorium.

So no bug. Just an out of date reader that does not properly support svg image scaling.
You're right; it's not a bug in Sigil – it's a bug in ADE from – I think – version 4 and up. It renders SVG-covers very small, but I've found that putting

style="height:98vh;"

(the "98" can be any percentage) into the SVG-code forces ADE to render it correctly, and doesn't seem to bother other readers. It only works by putting it directly in the SVG-code.

Sample:

<svg version="1.1" xmlns="http://www.w3.org/2000/svg"
style="height:98vh;" xmlns:xlink="http://www.w3.org/1999/xlink"
width="100%" height="100%" viewBox="0 0 1650 2200"
preserveAspectRatio="xMidYMid meet"> <image width="1650" height="2200"
xlink:href="../Images/hawthorne-det_roede_bogstav.jpg"/>

(the code may not be "state of THE art", just state of MY art )


Regards

Kim
elibrarian is offline   Reply With Quote