SirPL Posted September 27 Share Posted September 27 Designer v2.5.5, Windows 10 x64. I'm working with music sheets. Certain music elements generated by notation software have both fill and stroke. I realized that expanding stroke of long ties (concave line joining two notes) gives odd results. Here's a tie before expansion: And after: I'm also attaching a part of the original score with the tie in question for further inspection. expand_stroke.afpub Quote Link to comment Share on other sites More sharing options...
Staff stokerg Posted October 2 Staff Share Posted October 2 Hi @SirPL, This looks like an issue with the software that created that curve. Before you Expand Stroke, if you check out the 2 Nodes for this curve, they are Sharp nodes but they both have 2 control handles and a Sharpe Node should only have 1 control handle. I also can't recreate a Curve like this that shows the same issue after expanding stroke. How did you import this into Affinity? Quote Link to comment Share on other sites More sharing options...
SirPL Posted October 23 Author Share Posted October 23 Hi @stokerg. Sorry for the delay in response. On 10/2/2024 at 11:54 AM, stokerg said: How did you import this into Affinity? I saved the music score first as PDF and then imported into Designer. Out of curiosity I decided to export it as SVG instead and here's the code for the tie: <path xmlns="http://www.w3.org/2000/svg" class="TieSegment" stroke="#000000" stroke-width="2.48" stroke-linecap="round" stroke-linejoin="round" fill-rule="evenodd" d="M575.239,423.833 C743.713,470.457 1249.13,470.457 1417.61,423.833 C1249.13,476.409 743.713,476.409 575.239,423.833"/> It's a path made of two Bézier curves. It's not against SVG specification. Full SVG, as exported by music notation software, in the attachment. tie.svg Quote Link to comment Share on other sites More sharing options...
lepr Posted October 25 Share Posted October 25 On 10/2/2024 at 10:54 AM, stokerg said: Sharpe Node should only have 1 control handle That's certainly not true. Quote I also can't recreate a Curve like this that shows the same issue after expanding stroke. It's a trivial task to create a similar problematic Curve in Affinity. Quote Link to comment Share on other sites More sharing options...
Ron P. Posted October 25 Share Posted October 25 Looks to me like Sharp Nodes can have more than one.... Quote Affinity Photo 2.5..; Affinity Designer 2.5..; Affinity Publisher 2.5..; Affinity2 Beta versions. Affinity Photo,Designer 1.10.6.1605 Win10 Home Version:21H2, Build: 19044.1766: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz, 3301 Mhz, 6 Core(s), 12 Logical Processor(s);32GB Ram, Nvidia GTX 3070, 3-Internal HDD (1 Crucial MX5000 1TB, 1-Crucial MX5000 500GB, 1-WD 1 TB), 4 External HDD Link to comment Share on other sites More sharing options...
lepr Posted October 25 Share Posted October 25 On 9/27/2024 at 9:16 AM, SirPL said: I'm also attaching a part of the original score with the tie in question for further inspection. expand_stroke.afpub A workaround until the bug gets fixed: insert a node in an edge of the tie and then expand stroke will work OK. Quote Link to comment Share on other sites More sharing options...
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.