Jump to content

Recommended Posts

Posted

Im currently working with a calligraphy effect in Inkscape.

It works on the basis of a transform, applied to a group. The procedure goes like this:

1.You create a circle and group it.

2. You squash the circle to an ellipse and rotate it to, say, 30°.

3. Then you enter the group and create your design with the Pen Tool - the path will inherit the transform and give it a calligraphy effect with thin and thick lines according to the angle (see image 1).

 

Here is the problem: when i open this svg file in Affinity Designer, the transforms get lost (see image 2).

I guess its because in AD transforms are always preserved ?

Is there a way to open the file in AD and maintain the transform effect ?

2009560951_optimizedTransformCalligraphy.jpg.42ca80065a5ee63d71190bb2b9f5fcbb.jpg

 

Import.jpg.e85858af786fd377a3c2c67cb85f3f11.jpg

 

Calligraphy Effect.svg

Posted

Affinity doesn't have any clues about Inkscape "Fillet and Chamfer" effect and probably won't parse & interpret that one! - Always keep in mind that there are always differences in SVG generation and parsing-in capabilities between apps here, Affinity does only support a basic subset of the whole SVG spec, where Inkscape in contrast supports much more of the SVG specification.

Further, even if highly simplifying the by Inkscape generated SVG code (see SVGOMG) ...

<svg xmlns="http://www.w3.org/2000/svg" width="545.312" height="656.323">
	<g transform="matrix(.50948 -.86049 .02634 .0156 -39.036 -7.934)" paint-order="fill markers stroke">
		<ellipse cy="2318.944" cx="1047.02" rx="1068.639" ry="56.59" 
                 transform="matrix(.05295 .9986 -.01767 .99984 0 0)" fill="red" fill-opacity=".923"/>
		<path d="M10.808 7079.05l-324.157 6269.688 197.646-70.87-264.518 5116.182 185.392-66.476-164.478 3181.264 378.39-135.681-74.995-4137.805 131.873-2550.64-36.119-1992.816" 
              fill="none" stroke="#000" stroke-width="45.724" stroke-miterlimit="0"/>
	</g>
</svg>

... Affinity doesn't handle the stroke-miterlimit="0" here.

☛ 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
1 hour ago, v_kyr said:

Affinity doesn't have any clues about Inkscape "Fillet and Chamfer" effect and probably won't parse & interpret that one !

There wasnt any Fillet or Chamfer LPE involved in the making of my effect, but i can see in the code that its mentioned.

Actually thats the whole reason i wanted to open this file in AD, because i tried to round corners with the LPE, but its awful, so i wanted to try to use AD's Corner Tool instead.

No idea why its still in the code, i removed the LPE and it didnt round any of the corners.

 

1 hour ago, v_kyr said:

Always keep in mind that there are always differences in SVG generation and parsing-in capabilities between apps here, Affinity does only support a basic subset of the whole SVG spec, where Inkscape in contrast supports much more of the SVG specification.

So theres no way to open this file in Affinity and maintain the transforms, even if i change the miter limit to something bigger than zero ?

 

Posted
5 hours ago, ESPR said:

So theres no way to open this file in Affinity and maintain the transforms, even if i change the miter limit to something bigger than zero ?

AFAI can tell it won't handle the stroke-miterlimit in that way at all. - Try to rebuild that in Affinity itself and then see how it would export that as SVG.

☛ 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

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.