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

Re: [dia] Windows created diagrams are no longer readable



On Fri, 2004-05-14 at 14:30, Hubert Figuiere wrote:
> On Fri, 2004-05-14 at 14:14 +0200, Lars Clausen wrote:
> 
> > It is, however, a problematic issue.  Problem is that Win32 and Pango
> > don't agree on how to render fonts, so they have slightly different
> > widths, which in turn determines the size of the boxes.  Haven't found a
> > good solution yet.
> 
> 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 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.

-Lars


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK