Re: svg export with svg embedded



On Tue, Jan 15, 2013 at 11:47:45PM +0400, Andrey Repin wrote:
For a new project I have some shapes that consist of a .shape- and a
.svg-file: the .shape file contains connectors and size, and the shape
itself is in the .svg-file.

When I export my diagram as a svg-file, the included .svg's are not
included but linked using xlink:href. This makes the exports sometimes
useless and sometimes difficult to use because the exported file is
incomplete. Would it be possible to change this behaviour and make the
exported svg complete?

I don't see a reason, why you keep your shape in a separate file.
Dia's not doing anything wrong, it follow your original logic.
If you want it to behave differently, change your base logic first. I.e.
include shape visual into the shape file.

Hello Andrew. I didn't think of this, thank you. 

The svg is produced with Inkscape.  Right now I read the file and set
the size with svg:image. How would I set the image size when including
the (rather complex) svg file? Is there a similar technique to set the
size as with svg:image?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]