View Single Post
Old 01-27-2011, 12:54 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,926
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by kovidgoyal View Post
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.

Last edited by JSWolf; 01-27-2011 at 06:20 PM.
JSWolf is offline   Reply With Quote