"inkscape --query-all" bug?

General discussions about Inkscape.
iconberg
Posts: 36
Joined: Wed Feb 04, 2015 7:46 pm

"inkscape --query-all" bug?

Postby iconberg » Tue Feb 24, 2015 9:38 pm

Hello,

is it a bug that the wide of the svg grows with the max. bounding box of an element/layer?
Should´nt it show the size of the page?
I can understand that the layer size expands, but not the size of the page.

C:\Temp>c:\programme\inkscape\inkscape.com Zeichnung-6.svg --query-all
svg2 0.70312503 50.878907 1132.8974 277.13316
layer1 0.70312503 50.878907 1132.8974 277.13316
text3336 0.70312503 50.878907 1132.8974 109.62891
tspan3338 1.6881856 50.878907 1131.9123 37.539063
tspan3340 0.70312503 92.01172 255.33806 28.457032
tspan3342 5.5506598 131.25 287.17108 29.257813

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: "inkscape --query-all" bug?

Postby ragstian » Tue Feb 24, 2015 11:00 pm

Hi

Inkscape (and svg) allows you to have objects "outside" the page and the width of the total will grow when you place objects outside the page.
I would not consider this a bug but rather a nice feature, can be used to have "temporary" objects - that you don't want to display - in the file.
Last edited by ragstian on Sat Feb 28, 2015 2:35 am, edited 1 time in total.
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

iconberg
Posts: 36
Joined: Wed Feb 04, 2015 7:46 pm

Re: "inkscape --query-all" bug?

Postby iconberg » Wed Feb 25, 2015 1:08 am

Ok, but how should i determine than if an object is outside the page, for resizing them?


Return to “General Discussions”