Changing from portrait to landscape and back
![](https://secure.gravatar.com/avatar/43dd5461ea090b1115a4eaab4ee7c80e.jpg?s=120&d=mm&r=g)
I'm using 0.44 and whenever I change from landscape to portrait, my image on the page shrinks in size relative to the page. I have to keep scaling the image up. When I change from portrait to landscape, the image enlarges and I have to scale it down to fit within the page. Is there a switch somewhere that controls this behavior?
Thanks, Wayne Mandriva 2006
![](https://secure.gravatar.com/avatar/bb65b6b3a109d97cf9f8d6c014ede042.jpg?s=120&d=mm&r=g)
On 6/26/06, wayne <iw@...519...> wrote:
I'm using 0.44 and whenever I change from landscape to portrait, my image on the page shrinks in size relative to the page. I have to keep scaling the image up. When I change from portrait to landscape, the image enlarges and I have to scale it down to fit within the page. Is there a switch somewhere that controls this behavior?
It's caused by the viewBox attribute (most likely). Remove it.
![](https://secure.gravatar.com/avatar/43dd5461ea090b1115a4eaab4ee7c80e.jpg?s=120&d=mm&r=g)
On Monday 26 June 2006 05:30 pm, bulia byak wrote:
On 6/26/06, wayne <iw@...519...> wrote:
I'm using 0.44 and whenever I change from landscape to portrait, my image on the page shrinks in size relative to the page. I have to keep scaling the image up. When I change from portrait to landscape, the image enlarges and I have to scale it down to fit within the page. Is there a switch somewhere that controls this behavior?
It's caused by the viewBox attribute (most likely). Remove it.
What is the vewBox attribute and where do I find it?
Thanks, Wayne
![](https://secure.gravatar.com/avatar/d6adbfa9bbedfe84f3b156e0879f0aa6.jpg?s=120&d=mm&r=g)
wayne wrote:
On Monday 26 June 2006 05:30 pm, bulia byak wrote:
On 6/26/06, wayne <iw@...519...> wrote:
I'm using 0.44 and whenever I change from landscape to portrait, my image on the page shrinks in size relative to the page. I have to keep scaling the image up. When I change from portrait to landscape, the image enlarges and I have to scale it down to fit within the page. Is there a switch somewhere that controls this behavior?
It's caused by the viewBox attribute (most likely). Remove it.
What is the vewBox attribute and where do I find it?
It's an attribute early in the SVG file. Just open the file up in a text editor and search for 'viewBox'. Take the attribute out of the tag, and the problem will probably go away.
I had this problem with a file that originated from Adobe Illustrator.
Does Inkscape ever put this tag in? My impression is that it doesn't.
Cheers, Terry
![](https://secure.gravatar.com/avatar/43dd5461ea090b1115a4eaab4ee7c80e.jpg?s=120&d=mm&r=g)
On Monday 26 June 2006 07:20 pm, Terry Hancock wrote:
wayne wrote:
On Monday 26 June 2006 05:30 pm, bulia byak wrote:
On 6/26/06, wayne <iw@...519...> wrote:
I'm using 0.44 and whenever I change from landscape to portrait, my image on the page shrinks in size relative to the page. I have to keep scaling the image up. When I change from portrait to landscape, the image enlarges and I have to scale it down to fit within the page. Is there a switch somewhere that controls this behavior?
It's caused by the viewBox attribute (most likely). Remove it.
What is the vewBox attribute and where do I find it?
It's an attribute early in the SVG file. Just open the file up in a text editor and search for 'viewBox'. Take the attribute out of the tag, and the problem will probably go away.
I had this problem with a file that originated from Adobe Illustrator.
Does Inkscape ever put this tag in? My impression is that it doesn't.
Cheers, Terry
Yes, that solved the problem. Thanks. How would the tag get in there in the first place?
Wayne
participants (3)
-
bulia byak
-
Terry Hancock
-
wayne