Re: [dia] Windows created diagrams are no longer readable
From: Lars Clausen <lars raeder dk>
To: discussions about usage and development of dia <dia-list gnome org>
Subject: Re: [dia] Windows created diagrams are no longer readable
Date: Thu, 20 May 2004 00:51:40 +0200
On Wed, 2004-05-19 at 12:28, Hubert Figuiere wrote:
> > > Why not coding the size of the box when saving the file ? Text size
> > > helps determine what the size of the box should be, *initially* (ie when
> > > creating the object). Then IMHO, the size should be saved persistently
> > > and reused. That would probably solve this issue. If you have anything
> > > against that, please explain.
> >
> > Only problem is that once you edit the text, the size changes, even if
> > you don't change the text.
>
> But that case, all the anchor are updated as well and we are not hit by
> the side effect described when load a UNIX generated diagram on Windows.
> No ?
It would look funny, but not as funny as it currently does.
> > But that may be a better option. It will be
> > realizable once the current change in text edit method is complete.
> >
> > However, it also means that either the text will spill over, or the
> > width of the text must be preserved in some other way -- which is
> > doable.
>
> Perhaps can we "lock" the size ?
Basically save the size of each text element with it. That may be a
good idea. We're using a semi-fixed size to twiddle against anyway
(currently just 100% zoom size).
-Lars