Jump to content

Recommended Posts

Posted

I've been trying to paste some icons from Designer into Figma and they always show up as a raster image. Thought this might be a problem with Figma but after grabbing some SVG raw code and pasting it into Figma, it generates a vector image. I have "Copy items as SVG" selected in my Designer preferences but if I go into a text editor, no code is pasted, hence I don't think it's generating any code on copy. So my question is, how does this work? Is it a bug or am I missing something? I'm running version 1.6.5.135 on Windows 10. Thanks.

 

Posted

There was a similar post regarding Fontlab and the copy/paste and the assumption that it would paste as a vector into Fontlab but it always pasted as a raster image that had to be traced. Even with Copy as svg enabled it did not work and now your post which is effectively doing the same thing in both action and result confirms something doesn't make sense.

See the post for Fontlab for reference...

 

iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Posted

What I find odd is that Glyphs will interpret the svg copy code and import it in as vector.

iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Posted
4 hours ago, zehfred said:

I have "Copy items as SVG" selected in my Designer preferences but if I go into a text editor, no code is pasted, hence I don't think it's generating any code on copy.

Didn't tried on the Win version, thus can't speak for that one, but on a Mac copy/paste as SVG into a text editor usually works ...

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Posted

Good post @v_kyr 

Following on from that, this is the code to compare for this image: Untitled.svg from illustrator and then From Affinity

SVG copy code from Illustrator

<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In  -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 width="1919.39px" height="900.59px" viewBox="0 0 1919.39 900.59" enable-background="new 0 0 1919.39 900.59"
	 xml:space="preserve">
<defs>
</defs>
<g transform="matrix(1,0,0,1,-206.686,-177.106)">
	<rect x="206.69" y="188.39" fill-rule="evenodd" clip-rule="evenodd" fill="#FF7C00" width="882.74" height="882.74"/>
	<g transform="matrix(0.988771,0,0,0.988771,3.49885,-1.3753)">
		<circle fill-rule="evenodd" clip-rule="evenodd" fill="#FF7C00" cx="1691.28" cy="635.92" r="455.41"/>
	</g>
</g>
</svg>


SVG copy Code from Affinity

<?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="100%" height="100%" viewBox="0 0 383 180" 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:1.41421;">
    <g transform="matrix(1,0,0,1,0,0.000224332)">
        <g transform="matrix(1,0,0,1,-206.686,-177.106)">
            <rect x="206.686" y="179.357" width="176.089" height="176.089" style="fill:rgb(255,124,0);"/>
        </g>
        <g transform="matrix(0.988771,0,0,0.988771,-203.187,-178.481)">
            <circle cx="501.877" cy="271.353" r="90.845" style="fill:rgb(255,124,0);"/>
        </g>
    </g>
</svg>

 

iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.