View Single Post
Old 05-01-2013, 04:03 PM   #19
paola
Wizard
paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.
 
paola's Avatar
 
Posts: 2,840
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
Quote:
Originally Posted by ShellShock View Post
Thanks. Yes that is much better. I think I understand: I need to use 100% for my svg width and height to get the viewBox to fill the screen rather than using an absolute size; the viewBox and image dimensions need to match the real image file in order to preserve its aspect ratio. The image dimensions need to match the viewBox dimensions to get the image to fill the viewBox, and hence fill the screen.
Quote:
Originally Posted by ShellShock View Post
snip
Replace the two 660 with the real width of the image, and the two 880 with the real height of the image (Sigil displays the width and height if you open the image).

now I get it, thanks!
paola is offline   Reply With Quote