[mapserver-commits] [MapServer/MapServer] 10c362: Fix for handling SVG symbols with viewBox attribut...

Martin Høgh noreply at github.com
Mon Feb 26 15:29:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/MapServer/MapServer
  Commit: 10c3621d1ce5def3529cae427ea2647cd9a0d333
      https://github.com/MapServer/MapServer/commit/10c3621d1ce5def3529cae427ea2647cd9a0d333
  Author: Martin Høgh <mh at mapcentia.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M msautotest/sld/expected/map_linemark.png
    M msautotest/sld/expected/sld_linemark.png
    M msautotest/sld/expected/sld_url_linemark.png
    M src/mapcairo.c

  Log Message:
  -----------
  Fix for handling SVG symbols with viewBox attribute (fixes #6956) (#7028)

With the newer rsvg library code i mapcairo.c, the sizex and sizey properties was not set correctly when svg had a viewBox. This fix will check for viewBox and set dimension accordingly.

Co-authored-by: sethg <sethg at geographika.co.uk>



To unsubscribe from these emails, change your notification settings at https://github.com/MapServer/MapServer/settings/notifications


More information about the MapServer-commits mailing list