Exporting seems to now have a glitch

The export feature in Figma doesn’t seem to be working correctly right now. It’s adding an extra pixel to the export size vs. what my Frame is set to; and if I try to export at 2X the size, it doesn’t size up the export. Just adds an extra pixel to the dimension. This wasn’t happening until just now (I export digital and web assets often).

To prevent this from happening, you need to set integer values ​​along the X, Y axes for your frames.

1 Like

Hello Anne Marie am also struggling to export a desktop design i made do you
how can i make the export and get full code (html,css,javascripts ) i made
Thanks

I’m having an issue with this as well - the downloaded svg has a different font than I set on Figma and a straight line in the graphic is showing up tilted - not sure what’s going on.

Does anybody have any tips? Is this a Figma issue or am I doing something wrong?

Every time I export assets(PNG) if its not at x0.y0 it adds extra pixel.
I have to move an asset to 0.0 export it from that location and move it back.
I think its a BUG!

-To prevent this from happening, you need to set integer values ​​along the X, Y axes for your frames.-
Can you give us an example?

Hi @Leonid_Korostyshevskiy,

Can you confirm that your assets X Y values are set to whole numbers?

Guys. Also you have to make sure that child elements in your frame also don’t have float values in coordinates and sizes.

I hope this helps you.

Hello @dvaliao, I have this probably quite often. My asset is set to the right dimension but on export it’ll add a pixel because of the X/Y coordinate are not whole numbers. Sometime they are whole numbers, but a parent element is not.

Do you know if this is a bug and is planned to be fixed? If it’s the intended functionality, could their be a warning that says something about exports being on sub-pixels and it will affect export size?

I can’t tell you how frustrating and time consuming to hand over exported assets and hear back that the size is off and then have to go back into the file and check all X/Y coordinates of every asset and re-export.

@dvaliao @PepperPete

This solved the issue for me >> Loom: Figma adding extra pixel bug (SOLVED)