ESPR Posted March 12, 2021 Posted March 12, 2021 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 ? Calligraphy Effect.svg Quote
v_kyr Posted March 15, 2021 Posted March 15, 2021 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. Quote ☛ 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
ESPR Posted March 15, 2021 Author Posted March 15, 2021 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 ? Quote
v_kyr Posted March 15, 2021 Posted March 15, 2021 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. Quote ☛ 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
Recommended Posts
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.