port math/gnuplot hangs and ignores "kill -9"

Roland Smith rsmith at xs4all.nl
Thu Sep 17 16:15:27 UTC 2009


On Thu, Sep 17, 2009 at 04:58:14PM +0100, Anton Shterenlikht wrote:
> Roland, perhaps you also know the origin of this gnuplot warning:
> 
> 	Could not find/open font when opening font "arial",
> 	using internal non-scalable font
> 
> From searching the net it appears that gnuplot is not finding truetype
> fonts, something to do with GD library. I've got xorg-fonts-truetype-7.4
> and gd-2.0.35_1,1 installed. So I'm not sure what the problem is.

When using gd fonts, you must either specify either the full path of the font
file, or the font filename (not the font name, AFAIK). In the latter case you
have to set the GDFONTPATH variable containing the path.
 
> Several functions are not available without truetype fonts, e.g. label
> rotation, which is sometimes useful.

I used the following with the PNG terminal:

set terminal png font "/usr/local/lib/X11/fonts/dejavu/DejaVuSansMono.ttf" 8 \
size 300,150 x76848f xb1b1b1 xb1b1b1 x00ff00 x00ff00 x00ff00 x00ff00

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090917/4a95c00f/attachment.pgp


More information about the freebsd-questions mailing list