Date: Thu, 26 Sep 2002 19:04:56 +0200 From: Roman Neuhauser <neuhauser@bellavista.cz> To: la3sg@sensewave.com Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: PHP, GD2 and True Type Fonts Message-ID: <20020926170456.GS30361@freepuppy.bellavista.cz> In-Reply-To: <3D9349BD.18579.1FAFB89@localhost> References: <3D934202.6025.1DCC81E@localhost> <3D9349BD.18579.1FAFB89@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
# junkmail@sensewave.com / 2002-09-26 17:54:05 +0100: > From: Roman Neuhauser <neuhauser@bellavista.cz> > > # junkmail@sensewave.com / 2002-09-26 17:21:06 +0100: > > > I am calling the GD2 package from PHP to generate graphics to be > > > displayed on web pages. Everything I have tried are working fine, with > > > one exception: When I make a call like > > > $size =3D ImageTTFBbox (10, 0, "fonts/arial.ttf" , "hello");=20 > > > I get an arror message like > > > Warning: Could not find/open font in /home/www/htdocs/t3.php on line = 21=0F >=20 > > ISTR the path must be absolute. >=20 > Thanks. This did it: > $fontfile =3D "/home/www/htdocs/fonts/serifai.ttf";=20 > Those small details! > Kjell you should have sent this to questions@ (for the archives) --=20 begin 666 nonexistent.vbs FreeBSD 4.7-RC 7:03PM up 9 days, 2:18, 11 users, load averages: 0.00, 0.02, 0.00 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020926170456.GS30361>