page resize adds offset to svg output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Wishlist
|
Unassigned |
Bug Description
When using default page size (744.09,1052.36) for the svg file, the svg origin is at the top left
a bitmap image with its top left corner lined up with top left corner of the inkscape page will show as expected:
transform=
after a document page resize to (1920,1280)
a bitmap image with its top left corner lined up with top left corner of the new inkscape page will show unexpectedly:
transform=
since this is svg output the top left of the document should report as (0,0)
what appears to be happening is the svg output is maintaining the top left of the default document (0, 1052.36) as the svg origin (0,0) and anything above this point is negative.
When I resize a document I keep no memory of the previous document size and so the svg output becomes confusing.
This along with the fact that svg top left point should report as (0,0) leads me to report this as a bug.
-Thank You
(note: preferences-
-----
I discovered this issue when trying to perform matrix rotation,scaling and translation and was getting very confused by the translated (x, y) coordinates appearing in the svg output.
I imagine this could be causing a lot of people to incorrectly report this as a matrix rotation/
Thanks again
> This along with the fact that svg top left point
> should report as (0,0) leads me to report this as a bug.
Not a bug - technically it is regular SVG to apply a 'transform' attribute to top-level containers (groups, or layer groups).
Setting bug status to 'Wishlist'.