svg aspect ratio problem

Post questions on how to use or achieve an effect in Inkscape.
Matan
Posts: 4
Joined: Thu Apr 24, 2014 6:08 am

svg aspect ratio problem

Postby Matan » Fri Apr 25, 2014 4:15 am

Hi,

I created an svg by pasting some images into Inkscape.
When I open the same svg in latest version Chrome, the aspect ratio of the images is very different than that seen in Inkscape.

What may be the reason, and what are good ways of addressing svg scaling, when designing in Inkscape for browsers.

Thanks!

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: svg aspect ratio problem

Postby Lazur » Fri Apr 25, 2014 12:16 pm

Hi.

Browsers may render svg-s differently.
Some cases explorer can show a better image, some may prefer to use opera.
Did you check if it's the svg, or the browser's rendering issue?

Matan
Posts: 4
Joined: Thu Apr 24, 2014 6:08 am

Re: svg aspect ratio problem

Postby Matan » Sat Apr 26, 2014 12:01 am

Not sure the distinction between svg and "browser rendering issue" means anything. Chrome handles SVG perfectly well. It's probably something in the way Inkscape uses svg. Inkscape outputs should work on Chrome just as much as in explorer. Thanks anyway.

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: svg aspect ratio problem

Postby hulf2012 » Sat Apr 26, 2014 1:21 am

Hello:
Can you reproduce and example of the problem and show it here?

Maybe the issue is related to this:
http://tutorials.jenkov.com/svg/svg-viewport-view-box.html

Greetings
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: svg aspect ratio problem

Postby tylerdurden » Sat Apr 26, 2014 1:22 am

Not seein it here...
Attachments
ChromeAspect.jpg
ChromeAspect.jpg (67.58 KiB) Viewed 1456 times
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: svg aspect ratio problem

Postby Lazur » Sat Apr 26, 2014 4:16 am

hulf2012 wrote:Maybe the issue is related to this:
http://tutorials.jenkov.com/svg/svg-viewport-view-box.html


That can produce differences between inkscape and browser rendering certainly.
To solve that you may edit the svg in a notepad to remove the unwanted tags.


Matan wrote:Chrome handles SVG perfectly well.

Some simple examples on the opposite:
https://openclipart.org/people/Lazur%20URH/spectrum3.svg
https://openclipart.org/people/Lazur%20URH/spectrum.svg
Though it renders better than on firefox...


Return to “Help with using Inkscape”