<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi all,<br>
    </p>
    <p>Some months ago there was a <a
href="https://discourse.osgeo.org/t/qgis-fr-user-ameliorer-lexport-svg-de-qgis/274/11">discussion</a>
      on the french qgis user group about problems with svg export in
      QGIS. This is a follow-up to this discussion but centered on text,
      because it seemed better to start with a more "focused" problem
      :-) For a bit of context my colleague Nelly Martin and myself
      would like to help improve QGIS export to SVG to help other
      colleagues (and ourselves !) switch to QGIS. We're aware that QGIS
      has great possibilities to make maps, but for a lot of people
      editing GIS output in vector graphic editors software like Adobe
      Illustrator, Affinity Designer, or Inkscape is part of their
      workflow.<br>
    </p>
    <p>So this is an attempt to group multiple issues with text and SVG
      export. Maybe this can help to see if these multiple bugs have the
      same source ?<br>
    </p>
    <p>1. <b>Text gets exported as separated lines or separated letters
        :</b> when exporting multi-line text, each line gets exported as
      a distinct text element. When exporting curved label, each letter
      gets exported as a distinct element as well. This is documented in
      <a href="https://github.com/qgis/QGIS/issues/24369">issue 24639</a>.
      There is also an older issue documenting an inverse problem when
      importing into QGIS a SVG with multi-line text created in Inkscape
      : <a href="https://github.com/qgis/QGIS/issues/11856">issue 11856</a>.</p>
    <p>2. <b>Wrong font size :</b> when setting a font size of 10pt in
      QGIS for some text and exporting to SVG, and opening SVG in
      Inkscape, Affinity Designer,  or Adobe Illustrator, font size is
      10.07747412 pt. This is documented in <a
        href="https://github.com/qgis/QGIS/issues/49761">issue 49761</a>.<br>
      <br>
      3. <b>Wrong font :</b> exported SVG do not always use correct
      fonts, simple fonts are ok but more complicated one are not. This
      is documented in <a
        href="https://github.com/qgis/QGIS/issues/47017">issue 47017</a>.<br>
      <br>
      4. <b>Wrong character :</b> minus character gets exported as a
      dash, this is documented in <a
        href="https://github.com/qgis/QGIS/issues/44444">issue 44444</a>.
      Perhaps other characters get exported wrongly as well ?<br>
    </p>
    <p>As I understand it, these bugs are not QGIS-related but stem from
      Qt. In the initial discussion in the french list, Régis Haubourg 
      and Julien Cabieces mentioned that KDAB could be a good
      interlocutor for Qt developments (thanks again Régis and Julien
      for your answers !).</p>
    <p>Would this problem be eligible for a QGIS grant, even if this is
      not a QGIS development ? Or do you have any idea how to have a go
      at this ? We haven't found any funding source for now, but we keep
      looking ! In the meantime having input from the QGIS community on
      this would be valuable.<br>
    </p>
    <p>Thanks a lot for your input ! Have a nice day,<br>
    </p>
    Julie & Nelly.
    <p></p>
    <pre class="moz-signature" cols="72">-- 
Géomaticienne
UMR 6554 LETG
tel 02 98 49 86 81
Institut Universitaire Européen de la Mer
29280 Plouzané
<a class="moz-txt-link-freetext" href="https://letg.cnrs.fr/">https://letg.cnrs.fr/</a></pre>
  </body>
</html>