Re: svg export with svg embedded
- From: Michael Ross <michael e ross gmail com>
- To: vwf <vwf vulkor net>, discussions about usage and development of dia <dia-list gnome org>
- Subject: Re: svg export with svg embedded
- Date: Wed, 16 Jan 2013 10:53:31 -0500
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?
--
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.
A public-opinion poll is no substitute for thought.
Warren Buffet
Michael E. Ross
(919) 550-2430 Land
(919) 631-1451 Cell
(919) 513-0418 Desk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]