Quote:
Originally Posted by kovidgoyal
No width and height are set to 600x800 only when preserve aspect ratio is set, which in turn sets the preserveAspectRatio property of the container <svg> element to xMidYMid meet which means that a compliant svg renderer has to render the image within the viewbox (which is also set to 600x800 while preserving the aspect ratio)
Use an epub viewer that properly implements the SVG spec, like calibre's epub viewer and you will see that the aspect ratio is indeed preserved.
|
So if I don't set things to preserve the aspect ratio, then it will actually work in ADE? The problem with Calibre's ePub renderer is that it's not on my 650 so I cannot use it. Needs to work with ADE.