KoPathShape saveOdf and loadOdf oddities
Boudewijn Rempt
boud at valdyas.org
Sat Jan 17 09:38:40 GMT 2015
Well, afaict, the vector shape is what loads svg in krita, and that uses Qt's svg support. But if we save attributes into the odf with the koxmlns::svg namespace, that means we're actually mixing in svg properties in the odf, and we should load those properties when present.
On Saturday 17 January 2015 Jan 10:17:06 Stefano Bonicatti wrote:
> 2015-01-17 10:07 GMT+01:00 Boudewijn Rempt <boud at valdyas.org>:
>
> > One possibility that springs to mind is that the work on using svg inside
> > flake actually never got properly finished. Jan started on it, did a ton of
> > work, but then real life caught up and he had to stop working on the
> > project. But if we save it, we should load it, and it seems all nicely
> > namespaces in KoXmlNS::svg, so I don't expect any problems with a patch
> > that basically does this.
> >
>
> Though i've also tested svg loading, but the codepath it takes is another
> one, loadOdf is "never" called when loading an svg (i tried with Inkscape,
> drawing path shapes, bezier etc then load the svg in Krita).
> As far as i can tell from the code for svg there are specialized calls for
> those shapes (loadSvg).
--
Boudewijn Rempt
http://www.valdyas.org, http://www.krita.org
More information about the calligra-devel
mailing list