Just tested it here and it works as expected in Flint Not sure how you 'paste svg' by text into Designer, but assume you're using just ctr-v/paste which should work (and I see it working as expected in 1.9.2). So if you're using the latest version you should be fine. The 'copy as svg' option is available in the settings for a long time, but didn't work for most of the time as there previously was an issue with it for years. 12 As said it's working more or less the same in Affinity Designer as in Adobe Illustrator: you select an object in Designer, you copy it (ctrl-c on Windows) and can directly paste it in any text editor with ctrl-v or 'paste' (if you have 'copy as svg' checked in the settings that is).Please see video below (+ SVG's as attachment): Which would be easy if the viewBox of the copy would be the same. Of course, positions may change when the copied content is smaller than the original document size, but in this case it's the exact same size, so also the locations should be exactly the same. Than have the sizes of all curves (=paths) and shapes with the exact same attributes. The viewBox to be the same size of the boundingbox of the vector-content in the clipboard, or size of an artboard or mask if this is clipping it. And also if I would have a wrong setting in the exporter set, I would expect both the original and the copy to export exactly the same.īecause of this everything in the exported svg (of the copy) is now different: I might be missing something, but to me it doesn't make sense to have the new file with a 75 x 75 viewBox, when the copied circle is 100 x 100 and the viewBox on the original is too. Than 'New from Clipboard' renders the copy pretty much unusable when doing even a little more advanced stuff with the svg. To compensate these changes Designer seems to compensate this by changing the size of the viewBox too so that the complete SVG looks the same when just doing that: watching the whole svg.īut that's causing issues and unneeded complexity when using the svg and its shapes inside for interactive usage online. When copying shapes and use File -> New from Clipboard and export both original and copy to svg with exact same settings, the shapes's dimensions and locations are different. Thanks for your reply! Hope Affinity can address this for future versions. It's easy to forget these kinds of pitfalls and before you know you encounter the same issue again months later, having the same confusion again.Īnyway, good to know what's causing this for this moment. Or else at least show us a message that the DPI has changed, or might have been changed. That would prevent issues and unneeded confusion. IMO the best thing would be Affinity to just to copy the DPI setting to the clipboard when copying vector content and use it for the new file when using 'File->New from Clipboard'. Also the 'copy as svg' setting doesn't seem to have any influence on this. Causing the issues in the svg export as described above when not knowing about this underwater DPI change. I think the Affinity team thought it was a great plan to keep copies at 96dpi as some kind of a standard for when copies come from other software (if even possible), but didn't over see how confusing this can be for people only using Affinity just to create a copy of one or more isolated objects with File->New from Clipboard. I wonder why Affinity isn't copying the DPI setting over to the new document, while it is perfectly known when we hit 'copy' and IMO could just take over that setting in the new file from the clipboard.Īfter a search I also found this thread about the same issue, but with only copy'n'paste: When changing the DPI of the new file to 72 too it's exporting to svg as expected.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |