On Sun, 10 Nov 2002, Fernando Perez wrote:
> On Fri, 8 Nov 2002, Dekel Tsur wrote: > > > On Fri, Nov 08, 2002 at 01:41:02PM -0700, Fernando Perez wrote: > > > > > 1. Does anyone here use OpenOffice to produce figures to import into > > > > > Lyx, and if so how do you generate the .eps files? > > > > > > Try > > > $ convert bad_file.eps new_name.eps > > > > This is a bad idea as convert will rasterize the figure rather than > > keeping it as a vectorize figure. > > I think you're wrong, Dekel. I just tested with an eps and it stays > postscript (vector, that is). I've done this many times without any > problems at all. My apologies: convert is weird. For some eps files I have made with the old killustrator, it works fine (meaning, they remain as clean vector files). But some gnuplot graphs are indeed damaged, meaning they end up with ugly bitmapped fonts. It seems that the problem is only with the fonts, or at least with the files I've tested. I've found the following solution: using ps2eps seems to do a good job and not damage anything. Note you can NOT use either of ps2ps or eps2eps, ONLY ps2eps seems to leave vector fonts as vector fonts. Don't ask me why, this was found by dumb trial and error:) ps2eps is also very good at computing properly sized bounding boxes (what I'm using it for) when programs generate them incorrectly (as gnuplot does with square images). Cheers, f.