Inkscape.org
Beginners' Questions Inkscape 1.1 on Linux does not support Paths defined with <defs>
  1. #1
    DaltonCalford DaltonCalford @DaltonCalford

    I have a svg drawing that renders properly in chrome and firefox.
    (quick sample code inline)

    <svg
            xmlns:xlink="http://www.w3.org/1999/xlink"
        xmlns="http://www.w3.org/2000/svg">
    <defs>
    <path id="emptyHex" d="m400.144 173.33-100 173.205h-200L.144 173.33l100-173.205h200z" style="fill:navy;fill-opacity:.75;stroke:#ccc;stroke-width:.25" transform="translate(-102.291 -20.548)"/>
    </defs>
    <g transform="translate(102.291 20.548)"><use href="#emptyHex"/>/g>
    </svg>

    The hexagon does not appear in inkscape - it appears that inkscape does not support href/def for paths.
    How would I do the above in inkscape?

  2. #2
    DaltonCalford DaltonCalford @DaltonCalford

    Just discovered that Inkscape still uses the deprecated xlink:href 

  3. #3
    Tyler Durden Tyler Durden @TylerDurden

    Feel free to chime-in: https://gitlab.com/inkscape/inbox/-/issues/620

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Inkscape 1.1 on Linux does not support Paths defined with <defs>