From: Alan W. I. <ir...@be...> - 2003-03-18 04:36:22
|
On Mon, 17 Mar 2003, Michael Eldred wrote: > I'm trying > to distribute an executable (DAKOTA in this case) to other platforms > which has the PLplot library (libplplotfX.a) linked in as a graphics > library.... Sorry, I was completely in the mindset of shared libraries, dynamic drivers, etc., where the best solution is to distribute the installed PLplot tree (or the parts of it which you need). However, if you are statically linking the PLplot library into your DAKOTA executable, then I think the simplest solution (as you have already discovered) is to distribute the (Hershey) font files with your DAKOTA executable and have your users set the environment variable PLPLOT_LIB. The other alternative you mentioned, freetype, actually works very well for our gd driver (which implements our png and jpeg devices using the gd library). It does use system fonts. However, it does not yet work with other devices (the associated drivers will need some rewriting to use it), and you probably don't want to limit yourself just to the png and jpeg devices. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Canadian Centre for Climate Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting software package (plplot.org). __________________________ Linux-powered Science __________________________ |