View Single Post
Old 04-11-2014, 07:31 AM   #56
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,827
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by JLius View Post
I'll answer that one myself: it's the preserve ratio isn't it.
The svg wrapper has a lot of properties, do a search in this forum and you'll find a lot of info. But in this case, if the image is used without a svg wrapper (as I told you) it also maintains the ratio because the "height" of the image is set to "100%" and the "width" is set to "auto". Do the try by setting your device reader in portrait and landscape mode and you'll always see the whole image and with its ratio preserved. But don't take this as if I don't want you to use svg wrappers Personally I use them a lot and that was my first conceil to you (but to use text ) You gave me your reasons to use a image as title page and at this case I think that a svg wrapper could not help significantly (especially if you didn't understand its operation). Unless that your title page has arranged the text of that way that you can use the svg property "preserveAspectRatio" with different values than "meet" (that is "slice") and "xMidYMid" (for example "xMidYMax"). Then, the svg wrapper will have a lot of meaning and you should used it without thinking a lot

Regards
Rubén

Last edited by RbnJrg; 04-11-2014 at 07:34 AM.
RbnJrg is offline   Reply With Quote