You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<svgheight='1000'width='1000'xmlns='http://www.w3.org/2000/svg'>
<pathd='M 100 100 L 900 100 L 900 900 L 100 900 Z'stroke='black'stroke-width='10'stroke-dasharray='100 100'fill='blue'pathLength='1000'
/>
</svg>
Setting pathLength='1000' vs pathLength='10000' should affect the rendered length of the dashes (and gaps) of the stroke. This is specified by SVG 1.1 standard (SVG 2 extends the attribute to rect, circle, etc.)
For reference, I tested the example in a few programs. Here is if they support the pathLength attribute correctly:
Hi,
resvg ignores
pathLength
attribute (SVG specification).Setting
pathLength='1000'
vspathLength='10000'
should affect the rendered length of the dashes (and gaps) of the stroke. This is specified by SVG 1.1 standard (SVG 2 extends the attribute torect
,circle
, etc.)For reference, I tested the example in a few programs. Here is if they support the
pathLength
attribute correctly:✅ Chrome (version 130.0.6723.117 arm64)
✅ Firefox (version 134.0.2, aarch64)
✅ Safari (version 17.4.1)
❌ Inkscape (Inkscape 1.3.2)
The text was updated successfully, but these errors were encountered: