Hi

I sent this a while ago but I think it got lost in the moderation
process as I sent it before signing up to the list...

If using "latex mode" the final latex-rendered string can be
considerably shorter than the space it takes up in the diagram. If the
latex string extends beyond the drawn part of a diagram there can often
be too much white space if the bounding box is created automatically.

Instead, I have set a manual bounding box
(options->elements->border->bounding box) in order to constrain the EPS
bounding box to the area I know that the diagram occupies. The manual
bounding box does not seem to work quite as I expect it to.
The manual bounding box works in either dimension where it is larger than the
automatically calculated bounding box. If I make the manual bounding box
smaller than the automatic one, the eps ends up with a larger bounding
box including all the white space I am trying to get rid of.

I could edit the ps bounding box by hand, but then I have to go through
and edit the co-ordinates of the tex file too, which is very time
consuming.

I have had a brief grep through the source code to try to work out how
the bounding boxes are calculated but am not entirely
sure where the manual bounding box is handled. Is it feasible to force
the use of the manual bounding box if it exists? After all, if I wanted
the automatic bounding box in this case I wouldn't have put in the
manual one! Alternatively, is the behaviour that I am experiencing by
design or is it a bug?

Thanks for any help.

John

This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, copy 
or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to