Closed GoogleCodeExporter closed 9 years ago
This is because the <svg> element has width/height specified in pixels. If you
edit
the SVG and remove the 'px' it loads in just fine.
Original comment by codedr...@gmail.com
on 9 Feb 2010 at 2:13
Mostly fixed in r1371 by appropriately converting any unit to user units.
An error does occur if you enter a percentage for width/height without
including a
viewBox...not sure how best to handle this. Illustrator sets the page as if the
percents were px, while Inkscape keeps the percent values as width/height
attributes, but still shows a page-shaped canvas.
Any suggestions on what we should do?
Original comment by adeve...@gmail.com
on 10 Feb 2010 at 6:20
As of r1406, the following will happen with missing/percentage width/height:
Missing: value will be set to "100"
Percentage: value will be same as value without percentage (i.e. "75%" will be
"75").
Better ways to deal with this are welcome, but I believe this issue can now be
closed.
Original comment by adeve...@gmail.com
on 17 Feb 2010 at 9:22
Original issue reported on code.google.com by
adrianbj...@gmail.com
on 9 Feb 2010 at 12:32Attachments: