Preparation of SVG paths