Jump to content

Philip Federici

  • Content count

  • Joined

  • Last visited

About Philip Federici

  • Rank

Profile Information

  • Gender
    Not Telling
  1. Philip Federici

    [Fixed] Multiple text white spaces in SVG export

    Thank you both, I experienced the phenomenon in Safari 9.0.3 (11601.4.4) on El Capitan 10.11.3 (15D21). I did some research and using non-breaking spaces seems to be the most robust solution. I apologise if I suggested that the exported SVG does not comply with XML Specification, I did not mean to. In fact I have never used a better software in this respect. In my case adding preserve in line would have made the file bigger than converting the spaces to non-breaking. I suspect this stands true for most projects on Affinity, but I may be wrong. Philip
  2. Dear Developers, When exporting a file to SVG with text fields (ASCII art in my case) multiple spaces are written as simple consequent spaces in the XML file. Unfortunately XML, as HTML, will display these as a single space. Declaring xml:space="preserve" as you do, unfortunately does not suffice, because it works only if the string contains only spaces. A better approach would be to use non-breaking spaces: To keep the XML more readable you could code it to change from simple to non-breaking spaces only from the second consequent (included) onwards, so that normal prose would not be cluttered. Just a thought. Thank you in advance. Kind Regards, Philip

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.