VladislavSerg reacted to
firstdefence in Export from Affinity Designer to Figma, how to get more than one pixel?
May 4, 2020
This is the code for an svg with Set ViewBox Checked
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 45 75" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
<g transform="matrix(1,0,0,1,-280.25,-366.627)">
<g transform="matrix(0.135748,0,0,0.226246,242.207,283.679)">
<rect x="280.25" y="366.627" width="331.497" height="331.497" style="fill:rgb(255,130,42);"/>
</g>
</g>
</svg>
and this is the code for an svg with Set ViewBox unchecked
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="45px" height="75px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
<g transform="matrix(1,0,0,1,-280.25,-366.627)">
<g transform="matrix(0.135748,0,0,0.226246,242.207,283.679)">
<rect x="280.25" y="366.627" width="331.497" height="331.497" style="fill:rgb(255,130,42);"/>
</g>
</g>
</svg>