Skip to main content

Hi Figma team, 


The component is 1195 × 560, but when exported as SVG the size becomes 1509 × 871. I’ve already verified that none of the elements inside the component use decimal values. Am I missing a configuration setting?
 


 

I’ve already seen a similar forum post and tried the suggested solutions without success:
https://forum.figma.com/report-a-problem-6/svgs-are-exported-with-an-incorrect-size-37102?postid=151785#post151785

Please help me fix this or let me know what I should do. Thank you.

Hey ​@Elayne_Hung ,

These warning message you're seeing "Origin not aligned to pixels"  usually means that some elements on your canvas are not aligned or positioned to a full pixel (for example, size dimensions or coordinates set to 500 x 450.25). To fix this, double-check that all sizes and positions of your objects use whole numbers only (no decimals).
Make sure to also check the positioning of each object have no decimals (both dimension and position can trigger this message if they’re not pixel-aligned).
 
If the issue persists after making these changes, I’d recommend to reach out directly to the support team so they can investigate further: Submit a bug report

When filling out the form:

  • Use your Figma email account
  • Include the URL of the affected file and grant can edit access to support-share@figma.com so they can take a closer look
  • If possible, include a short video showing the issue so the support team can better visualise and try to replicate the issue.
    Thank you! 

Check clip content

 


Thanks for your replies - the issue has been resolved!
You need to enable "clip the content" to avoid the error message.
Hope this helps anyone else has the same problem.