I am in the middle of writing SVG output from MuPDF, and I\'ve run up against what seems to be a limitation in the capabilities of SVG. I thought I\'d ask here in case this
Clip-paths in svg are meant to be just the shape, not the traits of the shape, so in other words you'll not get the stroke included. What you can do is use a mask instead, setting the stroke of the path in the mask to white.