Copy paste between VS and other applications
-
I’m using VS and Affinity together and often copy vector elements from Affinity into VS to make adjustments.
When I paste them back from VS into Affinity, the vectors come in at a smaller size than the originals. I then have to manually reposition and scale them to match their original placement.
I’ve tested this with documents set to the same pixel dimensions in both applications and tried copying objects from VS as both SVG and PDF.
However, I haven’t been able to preserve the original size. (Maintaining position is even more difficult, as pasted elements are centered by default.)
I’ve attached sample documents from both applications for reference.
958f23f3-57dd-4887-a129-30707f342034-VS Affinity copy paste.zip VS Affinity copy paste.zip -
@EricP I added this to the backlog as a bug
-
@EricP When using "pixel" units, the resolution should also be the same in both VS and AD in Document Setup
-
@VectorStyler yes I understand. I think the resolution was set to 300 dpi in both documents
-
@EricP Is this with the new Affinity Studio, or with Affinity Designer 2?
-
I get the same issue with Affinity designer 2.0 and Affinity Studio
When looking in clipboard at the svg of a rectangle copied from Affinity, then pasted in VS and copied to clipboard from VS, I can see a difference :
Copied from Affinity : 992x525:
<?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="992px" height="595px" 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:2;">
<g transform="matrix(1,0,0,1,-384,-378)">
<g transform="matrix(1,0,0,1,-1176,-147)">
<rect x="1560" y="525" width="992" height="595" style="fill:rgb(235,235,235);"/>
</g>
</g>
</svg>Copied from VS : 238x143
<?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="239" height="143" viewBox="0 0 239 143" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xml:name="Untitled-1">
<defs/>
<g transform="matrix(1.0 0.0 -0.0 -1.0 0.0 142.8) ">
<path d="M396.1966 18.5092 L396.1966 161.3092 634.2766 161.3092 634.2766 18.5092 396.1966 18.5092 Z" transform="matrix(1.0 0.0 0.0 1.0 -396.19663361 -18.50924665) " fill="#EBEBEB" fill-rule="evenodd"/>
</g>
</svg>