<div dir="ltr">Hi devs: I'm curious if folks have any ideas on 8.0 changes that might have affected SVG rendering. The msautotest SVG file renders fine as do some other files I've created (circle with hole, star with even/odd fill rule). So, this isn't a complete regression but something specific to a particular type of SVG graphic. Rendering issue is consistent with AGG and Cairo.<div><br></div><div>--Steve<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">Lime, Steve D (MNIT) via MapServer-users</strong> <span dir="auto"><<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>></span><br>Date: Wed, Dec 7, 2022 at 4:36 PM<br>Subject: Re: [MapServer-users] Filled SVG symbol after switching to Mapserver 8<br>To: Marcin Niemyjski <<a href="mailto:mniemyjski@cloudferro.com">mniemyjski@cloudferro.com</a>>, Marcin Niemyjski via MapServer-users <<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>><br></div><br><div class="msg345465976387150813">
<div lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="m_857689026550718639WordSection1">
<p class="MsoNormal">Interestingly the SVG-related regression tests all pass using a more complex SVG file than what you had shared. Using 8.0, the msautotest/misc/data/Road_Works.svg (<a href="https://github.com/MapServer/MapServer/blob/branch-8-0/msautotest/misc/data/Road_Works.svg" target="_blank">https://github.com/MapServer/MapServer/blob/branch-8-0/msautotest/misc/data/Road_Works.svg</a>)
file renders fine as a point symbol while your marker_customers.svg does not and matches your sample output. Using the current 7.6 branch, both symbols render as expected as point symbols.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">More digging will be necessary. Are any devs aware of specific changes relative to SVG (or vector) symbol support?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">--Steve<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Marcin Niemyjski <<a href="mailto:mniemyjski@cloudferro.com" target="_blank">mniemyjski@cloudferro.com</a>> <br>
<b>Sent:</b> Wednesday, December 7, 2022 11:27 AM<br>
<b>To:</b> Lime, Steve D (MNIT) <<a href="mailto:steve.lime@state.mn.us" target="_blank">steve.lime@state.mn.us</a>>; Marcin Niemyjski via MapServer-users <<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>><br>
<b>Subject:</b> Re: Filled SVG symbol after switching to Mapserver 8<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal">I am using the camptocamp/mapserver 8 image. I have not changed anything in the default configuration provided as part of the image.<u></u><u></u></p>
</div>
</div>
<div id="m_857689026550718639ms-outlook-mobile-signature">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">Wysyłane z aplikacji <a href="https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fo0ukef&data=05%7C01%7Csteve.lime%40state.mn.us%7C10bb17d44aec4b17776a08dad8783ad5%7Ceb14b04624c445198f26b89c2159828c%7C0%7C0%7C638060308145753646%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=s3w2L%2Fh%2FYw1IAxcY4cqoZeoF%2F6Q0snFT9%2F7yaQVjyqk%3D&reserved=0" target="_blank">
Outlook dla systemu iOS</a><u></u><u></u></p>
</div>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="m_857689026550718639divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">Od:</span></b><span style="color:black"> Lime, Steve D (MNIT) <<a href="mailto:steve.lime@state.mn.us" target="_blank">steve.lime@state.mn.us</a>><br>
<b>Wysłane:</b> Wednesday, December 7, 2022 6:21:39 PM<br>
<b>Do:</b> Marcin Niemyjski <<a href="mailto:mniemyjski@cloudferro.com" target="_blank">mniemyjski@cloudferro.com</a>>; Marcin Niemyjski via MapServer-users <<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>><br>
<b>Temat:</b> RE: Filled SVG symbol after switching to Mapserver 8</span></p>
</div>
<div>
<div>
<p class="m_857689026550718639xmsonormal">Which SVG library are you using – RSVG or Cairo?</p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="m_857689026550718639xmsonormal"><b>From:</b> Marcin Niemyjski <<a href="mailto:mniemyjski@cloudferro.com" target="_blank">mniemyjski@cloudferro.com</a>>
<br>
<b>Sent:</b> Wednesday, December 7, 2022 9:38 AM<br>
<b>To:</b> Lime, Steve D (MNIT) <<a href="mailto:steve.lime@state.mn.us" target="_blank">steve.lime@state.mn.us</a>>; Marcin Niemyjski via MapServer-users <<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>><br>
<b>Subject:</b> Re: Filled SVG symbol after switching to Mapserver 8</p></div></div>
<div>
<div>
<p class="m_857689026550718639xmsonormal"><span class="m_857689026550718639xelementtoproof"><span style="font-size:12.0pt;color:black;background:white">Steve,</span></span></p></div>
<div>
<p class="m_857689026550718639xmsonormal"><span class="m_857689026550718639xelementtoproof"><span style="font-size:12.0pt;color:black;background:white">link to my svgs:</span></span><u></u><u></u></p>
</div>
<div>
<p class="m_857689026550718639xmsonormal"><span class="m_857689026550718639xelementtoproof"><span style="font-size:12.0pt;color:black;background:white"><a href="https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcloudferro-my.sharepoint.com%2F%3Af%3A%2Fp%2Fmniemyjski%2FEobJZb14qXRHj34634dWZdgBnZa3r7Qztx4-Z2HVFvZO9A%3Fe%3DL2hCXj&data=05%7C01%7Csteve.lime%40state.mn.us%7C10bb17d44aec4b17776a08dad8783ad5%7Ceb14b04624c445198f26b89c2159828c%7C0%7C0%7C638060308145753646%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zJA2sroFd%2BwgsGdpctsC1p8GTgeMvoNWss5h54Xrul4%3D&reserved=0" target="_blank"><span class="m_857689026550718639MsoSmartlink">https://cloudferro-my.sharepoint.com/:f:/p/mniemyjski/EobJZb14qXRHj34634dWZdgBnZa3r7Qztx4-Z2HVFvZO9A?e=L2hCXj</span></a></span></span><u></u><u></u></p>
</div>
<div>
<p class="m_857689026550718639xmsonormal"><span class="m_857689026550718639xelementtoproof"><span style="font-size:12.0pt;color:black;background:white">Thanks,</span></span><u></u><u></u></p>
</div>
<div>
<p class="m_857689026550718639xmsonormal"><span class="m_857689026550718639xelementtoproof"><span style="font-size:12.0pt;color:black;background:white">Marcin</span></span><u></u><u></u></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="m_857689026550718639x_divRplyFwdMsg">
<p class="m_857689026550718639xmsonormal"><b><span style="color:black">From:</span></b><span style="color:black"> Lime, Steve D (MNIT) <<a href="mailto:steve.lime@state.mn.us" target="_blank">steve.lime@state.mn.us</a>><br>
<b>Sent:</b> Wednesday, December 7, 2022 4:33 PM<br>
<b>To:</b> Marcin Niemyjski <<a href="mailto:mniemyjski@cloudferro.com" target="_blank">mniemyjski@cloudferro.com</a>>; Marcin Niemyjski via MapServer-users <<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>><br>
<b>Subject:</b> RE: Filled SVG symbol after switching to Mapserver 8</span> <u></u>
<u></u></p>
<div>
<p class="m_857689026550718639xmsonormal">Hmmm… I’m not aware of any obvious changes between v.7 and v.8 that would account for the change and nothing jumps out looking at your mapfile. Would you be able to share one of your SVG graphics? --Steve</p></div></div><div><div><p class="m_857689026550718639xxmsonormal"><u></u></p>
<p class="m_857689026550718639xxmsonormal"> <b>From:</b> MapServer-users <<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>>
<b>On Behalf Of </b>Marcin Niemyjski via MapServer-users</p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="m_857689026550718639xxmsonormal">
<b>Sent:</b> Wednesday, December 7, 2022 6:45 AM<br>
<b>To:</b> Marcin Niemyjski via MapServer-users <<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>><br>
<b>Subject:</b> [MapServer-users] Filled SVG symbol after switching to Mapserver 8<u></u><u></u></p>
</div>
</div>
<div><div><p class="m_857689026550718639xxmsonormal"><span style="font-size:12.0pt;color:black;background:white">Hello,</span><u></u><u></u></p>
</div>
<div><span style="color:black;font-size:12pt">after switching to Mapserver 8 my svg symbols started to be rendered as filled:</span><br></div><div><p class="m_857689026550718639xxmsonormal"><u></u></p>
</div>
<div><span style="color:black;font-size:12pt">how it looks now:</span><br></div><div><p class="m_857689026550718639xxmsonormal"><u></u></p>
</div>
<div>
<p class="m_857689026550718639xxmsonormal"><span class="m_857689026550718639xxcontentpasted1"><span style="font-size:12.0pt;color:black;background:white"><a href="https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpasteboard.co%2F4K4CIEW6oFIm.png&data=05%7C01%7Csteve.lime%40state.mn.us%7C10bb17d44aec4b17776a08dad8783ad5%7Ceb14b04624c445198f26b89c2159828c%7C0%7C0%7C638060308145753646%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aR2PwDSFeKRZ3y58GB2Zvgv65%2B8zwYF6vAXZGzA5SQU%3D&reserved=0" target="_blank">https://pasteboard.co/4K4CIEW6oFIm.png</a></span></span><u></u><u></u></p>
</div>
<div><span style="color:black;font-size:12pt">how it was looking (the good way):</span><br></div><div><p class="m_857689026550718639xxmsonormal"><u></u></p>
</div>
<div>
<p class="m_857689026550718639xxmsonormal"><span class="m_857689026550718639xxcontentpasted0"><span style="font-size:12.0pt;color:black;background:white"><a href="https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpasteboard.co%2FwDQGW0xzFGRg.png&data=05%7C01%7Csteve.lime%40state.mn.us%7C10bb17d44aec4b17776a08dad8783ad5%7Ceb14b04624c445198f26b89c2159828c%7C0%7C0%7C638060308145753646%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=FHhnXrUCQTmWUd1jLag7k68bXFn%2By5HHkDMv1%2FbvUGk%3D&reserved=0" target="_blank">https://pasteboard.co/wDQGW0xzFGRg.png</a></span></span><u></u><u></u></p>
</div>
<div><span style="color:black;font-size:12pt">My mapfile:</span><br></div><div><p class="m_857689026550718639xxmsonormal"><u></u></p>
</div>
<div>
<p class="m_857689026550718639xxmsonormal"><span class="m_857689026550718639xxcontentpasted0"><span style="font-size:12.0pt;color:black;background:white"><a href="https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2FKRYDEAR2&data=05%7C01%7Csteve.lime%40state.mn.us%7C10bb17d44aec4b17776a08dad8783ad5%7Ceb14b04624c445198f26b89c2159828c%7C0%7C0%7C638060308145753646%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=nDoL3dPscDV5Yct%2B8oWxia6CemvMRorxBfcLGiKKHDg%3D&reserved=0" target="_blank">https://pastebin.com/KRYDEAR2</a></span></span><u></u><u></u></p>
</div>
<div><span style="color:black;font-size:12pt">What can I do to render svg the good way?</span><br></div><div><p class="m_857689026550718639xxmsonormal" style="background:white"><u></u></p>
</div>
<div><span style="color:black;font-size:12pt">Best,</span><br></div><div><p class="m_857689026550718639xxmsonormal" style="background:white"><u></u></p>
</div>
<div>
<p class="m_857689026550718639xxmsonormal" style="background:white"><span style="font-size:12.0pt;color:black">Marcin</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
MapServer-users mailing list<br>
<a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div></div></div></div>