Comment 13 for bug 386664

Revision history for this message
su_v (suv-lp) wrote :

I missed to properly test that yesterday: manually changing 'xlink:href' to a relative path (select image > context menu > image properties) before saving as 'compressed SVG with media' results in a zip archive that includes both the SVG and the referenced image file (minor bug: the '.svg' suffix is still appended twice to the included SVG file). Two (+1) issues remain:
- 'svg_and_media_zip_output' seems to be broken on windows (bug #246721).
- doesn't work with (absolute?) filename URIs (like embedimage.py, bug #386069)
- encoding: currently r/w paths in 'latin-1', isn't 'utf-8' common on all platforms now?
Manually editing all image properties before saving as zip archive isn't feasible except in test cases. I don't know enough about SVG standards and Inkscape inner workings - is this a bug in this extension or about changes in the SVG output of Inkscape (bug #386069, bug #168484, create URI names instead of local file names, how to use or keep relative path names in xlink:href)?