Tom Schlangen <[EMAIL PROTECTED]> writes: > > Dear Mukhtar, > > to clarify the problem at hand: > > 1. I do have .eps files already (generated by a circuit drawing program plus an .eps driver), > > 2. but they contain bounding box information that relates to the _page_ size, not the actual drawing _tile_ size > > 3. the usual method to import something like this into LyX is to render the .eps using ghostscript to get the > actual drawing _tile_ size bounding box values and having that information written back to the .eps file, > then import it to LyX using the "get bounding box from file" option. > > Now, with broken ghostscript giving back wrong tile size bounding box information when rendering because > of a bug as it unfortunately seems to be the case with current versions >= 8.60, an alternate method to get > the correct _tile_ size bounding box information (without broken ghostscripz) would be of great help to > import those .eps drawings into LyX. > > As I see it, your suggestions of using eps2eps and ps2eps wouldn´t help with this problem. > > Unfortunately, most tools dealing with bounding box information within an .eps or ps file depend on > working but not broken ghostscript, because most of them only are "wrappers" around ghostscript to make > it somewhat user friendly. > > Actually, the "bbget" utility I used so far and pointed to in my first article on this problem is just such > "wrapper", depending on a not-broken ghostscript to do its work. > > Kind regards, > > Tom Schlangen >
Dear Tom, The tool ps2eps I suggested has its own bbox.exe which claims to be compute the correct bounding box (without using ghostscript). That is why I suggest that is worth a try. The ps2eps by default uses its own bbox, however you can force it to use ghostscript by an option. Best wishes, Mukhtar
