Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Sep 2009 18:15:21 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: port math/gnuplot hangs and ignores "kill -9"
Message-ID:  <20090917161521.GA9122@slackbox.xs4all.nl>
In-Reply-To: <20090917155814.GA22231@mech-cluster241.men.bris.ac.uk>
References:  <20090914153728.GA60162@mech-cluster241.men.bris.ac.uk> <20090914154241.GA60268@mech-cluster241.men.bris.ac.uk> <20090914172233.GA69286@slackbox.xs4all.nl> <20090917123404.GA101@mech-cluster241.men.bris.ac.uk> <20090917131616.GA1393@slackbox.xs4all.nl> <20090917155814.GA22231@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 17, 2009 at 04:58:14PM +0100, Anton Shterenlikht wrote:
> Roland, perhaps you also know the origin of this gnuplot warning:
>=20
> 	Could not find/open font when opening font "arial",
> 	using internal non-scalable font
>=20
> 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 fo=
nt
file, or the font filename (not the font name, AFAIK). In the latter case y=
ou
have to set the GDFONTPATH variable containing the path.
=20
> 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
--=20
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)

--UugvWAfsgieZRqgk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iEYEARECAAYFAkqyYJkACgkQEnfvsMMhpyXp/wCfWIMkITXL15XOww1PaukVdviE
OPEAnA79muJ6MBxk1BrIvpRhb+izb5RI
=lbbS
-----END PGP SIGNATURE-----

--UugvWAfsgieZRqgk--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090917161521.GA9122>