<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Doug,</p>
<p>Can you share your SVG file? I'd like to have a look at it. Inkscape sometimes does peculiar things to SVG text elements (like adding complex matrices where they aren't really necessary). That might lead to issues with QGIS, because QGIS doesn't support the full SVG profile, but only the SVG tiny part of the specification.</p>
<p>Inkscape also offers several different optimizations when saving to different SVG versions. One might be better suitable for QGIS than the other. But I'd need to see your file first to give recommendations.</p>
<p>Unfortunately, you are limited to the SVG tiny profile when importing SVG into QGIS. QGIS relies on the QT library for SVG support and QT only supports SVG Tiny (and from this specification only the static part). See <a href="https://www.w3.org/TR/SVGTiny12/">https://www.w3.org/TR/SVGTiny12/</a></p>
<p>There is nothing easy we can do to improve the situation. The solution would be to improve the qt library first to also render more than SVG tiny, more features from the full profile that Inkscape normally produces. This would require financial investments into the QT library and also patience, until this ends up in QGIS, because it would then require a newer qt version.</p>
<p>Greetings,</p>
<p>Andreas</p>
<p><br /></p>
<p id="reply-intro">On 2020-02-13 15:05, Newcomb, Doug wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<style type="text/css">#replybody1 P {margin-top:0;margin-bottom:0;}</style>
<div dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000; background-color: #ffffff;">Hi Folks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000; background-color: #ffffff;">I recently made up a poster using QGIS 3.10.2 and ran across a few issues with SVG files when using add image.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000; background-color: #ffffff;"> </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000; background-color: #ffffff;">1) I use Inkscape 0.92.4 on windows to create customized North Arrows.  When adding a large text  N to the SVG file, it will not appear until I convert the text to a path using object to path.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000; background-color: #ffffff;"> </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000; background-color: #ffffff;">2) Exporting a graph from R to an svg file  using:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000; background-color: #ffffff;">svg(file="graph_filename.svg", width=7, height=7).</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000; background-color: #ffffff;">When using add image to the print layout, none of the text associated with the graph is visible.  Loading the svg file in Inkscape , the text shows up fine, but the convert text to a path method does not work on these files.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000; background-color: #ffffff;"> </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000; background-color: #ffffff;">Before I dive into this further, is this known behavior that is being worked on? Do folks have an easy fix?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000; background-color: #ffffff;"> </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000; background-color: #ffffff;">Yes, I could use png files, but vector graphics look better <span id="v1🙂">🙂</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000; background-color: #ffffff;"><span> </span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000; background-color: #ffffff;"><span>Doug</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000; background-color: #ffffff;"> </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000;"> </div>
<div id="v1Signature">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000;">
<div style="margin: 0px; font-size: 15px; text-align: start; background-color: #ffffff;">
<div style="margin: 0px;">Doug Newcomb - Cartographer</div>
<div style="margin: 0px;">USFWS</div>
<div style="margin: 0px;">551F Pylon Dr</div>
<div style="margin: 0px;">Raleigh, NC</div>
<div style="margin: 0px;">919-856-4520 ext. 14<span> </span><a style="margin: 0px;" href="mailto:doug_newcomb@fws.gov" rel="noreferrer">doug_newcomb@fws.gov</a></div>
<div style="margin: 0px;">---------------------------------------------------------------------------------------------------------</div>
<div style="margin: 0px;"> </div>
</div>
<div style="margin: 0px; font-size: 15px; text-align: start; background-color: #ffffff;"><strong style="font-size: 12.79px;"><em><span style="color: blue;">NOTE: This email correspondence and any attachments to and from this sender is subject to the Freedom of Information Act (FOIA) and may be disclosed to third parties.</span></em></strong><span style="margin: 0px; font-size: 12.79px; font-family: 'courier new', monospace; color: blue;">​</span></div>
</div>
</div>
</div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br />Qgis-user mailing list<br /><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br />List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br />Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<p><br /></p>

</body></html>