TobyLobster Posted August 3, 2023 Share Posted August 3, 2023 Hi folks, I'm trying to import SVG files into Affinity Designer (v1.10.6), and noticed that some text wasn't centred properly. Here is a simple example that shows the issue. centre.svg This looks like a bug, as this SVG file looks OK in browsers etc. Quote Link to comment Share on other sites More sharing options...
GarryP Posted August 3, 2023 Share Posted August 3, 2023 Welcome to the forums @TobyLobster I can confirm that the file looks okay in Firefox and Chrome on Windows, and loads okay in Inkscape. However it does look wrong in the Affinity applications. I don’t know if this is a bug or just one or more SVG features that haven’t yet been implemented – e.g. such as dominant-baseline and/or text-anchor, or maybe percentage-based X and Y values. Quote Link to comment Share on other sites More sharing options...
Komatös Posted August 3, 2023 Share Posted August 3, 2023 In Designer, the text is set using the x/y coordinates. For me it looks like that the same language is spoken, but with different dialect. Quote MAC mini M4 | MacOS Sequoia 15.1.1 | 16 GB RAM | 256 GB SSD AMD Ryzen 7 5700X | INTEL Arc A770 LE 16 GB | 32 GB DDR4 3200MHz | Windows 11 Pro 24H2 (26100.2161) Affinity Suite V 2.5.6 & Beta 2.6 (latest) Interested in a free (selfhosted) PDF Solution? Have a look at Stirling PDF Ferengi Acquisition Rule No. 49: “A deal is a deal is a deal.” Link to comment Share on other sites More sharing options...
TobyLobster Posted August 3, 2023 Author Share Posted August 3, 2023 Hi @GarryP, Thanks for the Welcome. I've done a little more testing by altering my example above, and it looks like text-anchor is working but both dominant-baseline and percentage-based X and Y values are not working. Quote Link to comment Share on other sites More sharing options...
v_kyr Posted August 3, 2023 Share Posted August 3, 2023 2 hours ago, TobyLobster said: I've done a little more testing by altering my example above, and it looks like text-anchor is working but both dominant-baseline and percentage-based X and Y values are not working. Affinity's SVG parser just supports a limited SVG subset and doesn't take those into account (aka it doesn't know how to deal with those). 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 Link to comment Share on other sites More sharing options...
TobyLobster Posted August 3, 2023 Author Share Posted August 3, 2023 2 hours ago, v_kyr said: Affinity's SVG parser just supports a limited SVG subset and doesn't take those into account (aka it doesn't know how to deal with those). Firstly, is it documented what subset of SVG is supported? Secondly, is it possible to report this as an issue / request the application is enhanced to support this feature of SVG? Quote Link to comment Share on other sites More sharing options...
v_kyr Posted August 3, 2023 Share Posted August 3, 2023 28 minutes ago, TobyLobster said: Firstly, is it documented what subset of SVG is supported? No. 28 minutes ago, TobyLobster said: Secondly, is it possible to report this as an issue / request the application is enhanced to support this feature of SVG? You can try under "under the "Feedback for the Affinity V2 Suite of Products" section, but if something will ever happen here then is written in the stars. 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 Link to comment Share on other sites More sharing options...
TobyLobster Posted August 3, 2023 Author Share Posted August 3, 2023 1 hour ago, v_kyr said: You can try under "under the "Feedback for the Affinity V2 Suite of Products" section, but if something will ever happen here then is written in the stars. Thanks @v_kyr! 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.