Angus Leeming wrote: > On Wednesday 17 July 2002 6:36 pm, Herbert Voss wrote: > >>Angus Leeming wrote: >> >>>It strikes me that we could further simplify the LyX code base by using >>>gs to ascertain the bounding box info in ControlGraphics. Your code here >>>is a valient attempt but gs is the master here and it'd make more sense >>>to use it. >>> >>>What do you think? >>> >>gs? >>use version xxx for this but not for that and not ealier >>then xx.xx.xxxx, but in the case of ??? then you can use >>version xxx, but ... >> >>that's gs! >> > > Well I don't imagine many people out there have a version of gs older than my > venerable 5.50. > > gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=bbox file.ps > %%BoundingBox: 56 60 297 288 > %%HiResBoundingBox: 56.105998 60.088002 296.100000 287.687997
AFPL Ghostscript 7.04 (2002-01-31) ... no output Herbert -- http://www.lyx.org/help/