Open GoogleCodeExporter opened 9 years ago
Correction: It appears the "rect6" object is something created by Inkscape,
using the dimensions set on the <svg> object. So now it appears the <svg>
height is causing the problem. If I edit the height attribute before opening
in Inkspace, then everything works as expected.
Original comment by dgasa...@gmail.com
on 8 Feb 2013 at 9:09
More corrections (eventually I'll get it right :). In the original exported
SVG, the problem is a <rect> object:
<g inkscape:label="Untitled Page"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
inkscape:groupmode="layer" id="layer_untitled_page"><g><rect x="0" y="0"
width="1624" height="1624" fill="none"/>
So, please ignore the XML I pasted earlier. In addition, I see know that the
original <svg> has a different width and height, which doesn't seem to be
related to canvas size:
<svg xmlns="http://www.w3.org/2000/svg" width="744.09448819"
height="1052.3622047"
Original comment by dgasa...@gmail.com
on 8 Feb 2013 at 9:25
The size of the created SVG document appears to be coming directly from
usr/share/pencil/content/pencil/exporter/Pencil2SVG.xslt, where it is hard
coded as:
<svg width="744.09448819" height="1052.3622047"
So, either there is no code which is modifying these defaults to the correct
dimensions for the document, or it is not working correctly.
Original comment by jay.ga...@DataMgmtSvcs.com
on 25 May 2014 at 8:52
This is a duplicate of issue #456.
Original comment by michiel....@gmail.com
on 8 Jun 2015 at 8:01
I attached a patch with a solution to issue #456.
Original comment by michiel....@gmail.com
on 8 Jun 2015 at 9:01
Original issue reported on code.google.com by
dgasa...@gmail.com
on 8 Feb 2013 at 8:09