Re: svg export with svg embedded



I don't know it this helps, but Dia is based on centimeters.  When you make shapes you work in cm and things turn out well.  Work in other units and it is troublesome.  This may be true when importing from Inkscape as well.

On Wed, Jan 16, 2013 at 6:23 AM, vwf <vwf vulkor net> wrote:
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?
_______________________________________________
dia-list mailing list
dia-list gnome org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia




--
Put this question to yourself: should I use everyone else to attain happiness, or should I help others gain happiness?  
Dalai Lama 

To invent, you need a good imagination and a pile of junk.
Thomas A. Edison

A public-opinion poll is no substitute for thought.
Warren Buffet

Michael E. Ross
(919) 550-2430 Land
(919) 576-0824 Google Phone
(919) 631-1451 Cell
(919) 513-0418 Desk

michael e ross gmail com





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