Figma sometimes puts duplicate points, or missing segments on pasted SVG vector data. I’ve created a small example to help the devs figure out what’s going on, where changing the art by one unit makes the issue happen. Has anyone else had this issue as well?
In this example, the point at the top of the bowl of this “letterform” gets duplicated. When it’s one of the top-most points, there’s not a problem. When it’s not the top-most point in the art (raised the left stem by one unit), the point get duplicated upon paste to Figma.
Expected point structure upon paste (moved the point to show).
Unexpected duplicate point structure upon paste (moved the point to show).
Here is the SVG information for the good copy and paste:
=====================
Copied SVG from Illustrator - Renders fine in Figma
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 226.11 200">
<path d="m143.17,0c-28.31,0-58.8,13.39-68.88,50.96V0H0v12.45h36.15v171.08H0v12.45h73.09c0-10.88-.2-19.68,0-29.32,10.44,21.89,32.33,33.33,59.04,33.33,54.02,0,93.98-46.18,93.98-106.63C226.11,38.75,195.58,0,143.17,0Zm-13.45,186.75c-33.94,0-55.42-23.69-55.42-65.06v-22.19c0-47.04,14.16-78.22,51.81-78.22,35.14,0,59.64,29.12,59.64,87.15,0,52.01-23.7,78.31-56.02,78.31Z"/>
</svg>
=====================
Copied SVG from Figma (Normal shape with appropriate amount of points)
<svg width="227" height="200" viewBox="0 0 227 200" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M143.17 0C114.86 0 84.37 13.39 74.29 50.96V0H0V12.45H36.15V183.53H0V195.98H73.09C73.09 185.1 72.89 176.3 73.09 166.66C83.53 188.55 105.42 199.99 132.13 199.99C186.15 199.99 226.11 153.81 226.11 93.36C226.11 38.75 195.58 0 143.17 0ZM129.72 186.75C95.78 186.75 74.3 163.06 74.3 121.69V99.5C74.3 52.46 88.46 21.28 126.11 21.28C161.25 21.28 185.75 50.4 185.75 108.43C185.75 160.44 162.05 186.74 129.73 186.74L129.72 186.75Z" fill="black"/>
</svg>
Here is the SVG for the base copy/paste experience, with the art just one-unit different:
=====================
Copied SVG from Illustrator (1 unit changed) - Duplicate points in Figma
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 226.11 201">
<path d="m143.17,1c-28.31,0-58.8,13.39-68.88,50.96V0H0v12.45h36.15v172.08H0v12.45h73.09c0-10.88-.2-19.68,0-29.32,10.44,21.89,32.33,33.33,59.04,33.33,54.02,0,93.98-46.18,93.98-106.63,0-54.62-30.52-93.37-82.93-93.37Zm-13.45,186.75c-33.94,0-55.42-23.69-55.42-65.06v-22.19c0-47.04,14.16-78.22,51.81-78.22,35.14,0,59.64,29.12,59.64,87.15,0,52.01-23.7,78.31-56.02,78.31Z"/>
</svg>
=====================
Copied SVG from Figma (Has a duplicate point)
<svg width="227" height="201" viewBox="0 0 227 201" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M143.17 1C114.86 1 84.37 14.39 74.29 51.96V0H0V12.45H36.15V184.53H0V196.98H73.09C73.09 186.1 72.89 177.3 73.09 167.66C83.53 189.55 105.42 200.99 132.13 200.99C186.15 200.99 226.11 154.81 226.11 94.36C226.11 39.74 195.59 0.99 143.18 0.99L143.17 1ZM129.72 187.75C95.78 187.75 74.3 164.06 74.3 122.69V100.5C74.3 53.46 88.46 22.28 126.11 22.28C161.25 22.28 185.75 51.4 185.75 109.43C185.75 161.44 162.05 187.74 129.73 187.74L129.72 187.75Z" fill="black"/>
</svg>