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

Re: Problem with user-created shapes with <svg:text>



On Sun, 22 Sep 2002, Scott Frazer wrote:
> I'm trying to create some shapes with <svg:text> elements and I'm having
> some trouble.
> 
> I wrote a Perl script to scan through Verilog files and create Dia shapes
> from the module definitions.  Essentially they are boxes with the
> input/output port names inside and a connection point next to each port,
> plus a text box on top for the instance name.  Then you just drop them on
> a diagram, "wire" them up, and get a nice neat drawing of your design
> with little manual effort.
> 
> So the script writes out the shape files and a sheet file, I move them
> over to my ~/.dia directories, start up Dia and there they are.  I drop
> them onto a new diagram, resize/wire them up and save the file.  No
> problem so far.  However, when I try to open the file Dia throws a
> segmentation fault.  After a little bit of poking around, I found that
> Dia didn't like the <svg:text> elements I had in the shape files.  That
> is, if I got rid of all them, the diagram would open up just fine.  Of
> course it's a basically worthless diagram now!  By accident I discovered
> that if I open a new diagram, put one of each shape on it, THEN open the
> saved file it's OK, text and all.

I can reproduce it with the CVS version, but don't have time today to look
into it.  Could you file a bug report on it?  Looks like some field related
to text is only properly initialized when the object is created rather than
loaded.

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?



[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