[Xcircuit-dev] RE: XCircuit bounding box error

R. Timothy Edwards tim at stravinsky.jhuapl.edu
Wed Nov 26 07:54:52 PST 2003


Dear Romano,

> Now, my problem. I have changed from 3.1.15 to 3.1.28 and I have a
> problem with the bounding box: there is a big white space around the
> circuit.

   Thanks for the report and the example file.  It was not my intention
to foul up the bounding boxes of encapsulated output.  My main focus
was getting the full-page output to work sensibly so that I could
generate a magnified view of a bonding diagram and split it up into
multiple 11"x17" pages.  While I was fixing that, I cleaned up a lot
of the code, and that had some unintended consequences.

   The quick fix is to edit the "%%BoundingBox:" line in the output
and add two the four values, respectively, +72, +72, -72, -72.  This
will remove the 1" whitespace margins and produce a correct alignment
in LaTeX documents (and ghostview).  The distribution has been fixed
in revision 29 (posted today).

> PS: I have another problem when compiling xcircuit with tcl. It seems
> that my .xcircuitrc is not read in that case. I have 

Tcl has the habit of ignoring all input after it encounters an error.
The "override default library" is not a valid Tcl command (although I
just fixed that).  The command "disable schema" needs to be changed to
"xcircuit::xschema disable", due to the fact that the GUI is handled
through Tcl scripts, not the executable.

I have added in the overrides;  however, under TCL, the command
"override default library" is changed to "library override".  You
can look at the file examples/.xcircuitrc in the distribution, which
I have just changed from Python to TCL syntax.

					Regards,
					Tim


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Xcircuit-dev mailing list
Xcircuit-dev at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcircuit-dev



More information about the Xcircuit-dev mailing list