Jump to content
You must now use your email address to sign in [click for more info] ×

VladislavSerg

New Members
  • Posts

    0
  • Joined

  • Last visited

Reputation Activity

  1. Like
    VladislavSerg reacted to firstdefence in Export from Affinity Designer to Figma, how to get more than one pixel?   
    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>  
  2. Like
    VladislavSerg reacted to firstdefence in Export from Affinity Designer to Figma, how to get more than one pixel?   
    In SVG export settings, click on the more button and uncheck: Set ViewBox.
    Leaving the Set ViewBox checked sets the Width and Height to 100% Unchecking it will allow export to specify the Width and height as pixels
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.