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

Re: gEDA-user: cannot see older schematics content with gschem 20041228 (Mac OS X)



Hi Charles,

>It looks like the components are just being drawn outside the
>viewport, and therefore being clipped. The schematics load and save
>correctly, but I just can't zoom far enough out to see them. I edited
>a few coordinates (divided them by 10) and those components showed up,
>but the rest remained invisible.

	Could you send me a schematic which displays this problem?
Does this happen on the gschem/example/*.sch schemtics?

	I haven't seen anything like this when running gschem on Linux.
Could you try the same tests under linux to see if this is a MacOSX
specific problem.

>
>Where is the world-to-screen coordinate transformation implemented?

	It's primarily in libgeda/noweb/m_basic.nw

	Also you asked about debugging.  The fastest and easiest way
is to remove all the #pline from the C source and rebuild and then debug.

I use the following quick hack script to do this:

-- cut here --

#!/bin/sh

for i in *.c
do
        echo $i
        mv $i $i.tmp
        cat $i.tmp | sed "s%^#line%//%" > $i
        rm -f $i.tmp
done

-- cut here --

								-Ales