Okay, I was able to replicate the environmental variables and the
command line output you showed me.
However, it had no effect on the error message from Gretl.
Actually, one thing I tried was setting the environmental variables,
deleting all config files from gretl and gnuplot. That gave me this
error message the first time I started gretl and made a time series plot.
/home/paul/.gretl/gpttmp.c5KDmt: No such file or directory
When I tried again after restarting gretl, it was back to the old error
message of not being able to find the Vera font.
That I guess could be a different error completely.
So I don't know what's going on, I do have all these fonts on my system.
It has always worked. I have read about this problem with GD which does
seem to be a problem here. This error isn't filed in either gnuplot and
gretl.
Thanks for you assisstance.
PJ
Allin Cottrell wrote:
On Sat, 11 Apr 2009, Paul Jones wrote:
> I tried what Mr. Cottrell suggested, and I can produce a png file of sin(x)
> using gnuplot in unstable. But no matter how I try to set those
> environmental variables I can't get Gretl to switch fonts and work.
>
I expected you'd be able to get a PNG file of some sort -- but
were you able to specify a truetype font? Perhaps the easiest way
to see this is in an interactive gnuplot session. Using the stock
gnuplot on Ubuntu 8.04, I get:
allin@myrtle:~$ /usr/bin/gnuplot
G N U P L O T
Version 4.2 patchlevel 2
last modified 31 Aug 2007
System: Linux 2.6.24-23-generic...
gnuplot> set term png font FreeSans
Terminal type set to 'png'
Could not find/open font when opening font FreeSans, using default
Options are 'nocrop medium '
But, setting the environment variable...
allin@myrtle:~$ GDFONTPATH=/usr/share/fonts/truetype/freefont \
/usr/bin/gnuplot
G N U P L O T
Version 4.2 patchlevel 2
last modified 31 Aug 2007
System: Linux 2.6.24-23-generic ...
gnuplot> set term png font FreeSans
Terminal type set to 'png'
Options are 'nocrop font FreeSans 12 '
Allin Cottrell