From owner-freebsd-questions Thu Sep 26 10: 5: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B948837B401 for ; Thu, 26 Sep 2002 10:05:03 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 626CC43E6E for ; Thu, 26 Sep 2002 10:05:02 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 17506 invoked from network); 26 Sep 2002 17:05:00 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 26 Sep 2002 17:05:00 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 52D282FDAB2; Thu, 26 Sep 2002 19:04:56 +0200 (CEST) Date: Thu, 26 Sep 2002 19:04:56 +0200 From: Roman Neuhauser To: la3sg@sensewave.com Cc: freebsd-questions Subject: Re: PHP, GD2 and True Type Fonts Message-ID: <20020926170456.GS30361@freepuppy.bellavista.cz> Mail-Followup-To: la3sg@sensewave.com, freebsd-questions References: <3D934202.6025.1DCC81E@localhost> <3D9349BD.18579.1FAFB89@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <3D9349BD.18579.1FAFB89@localhost> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # junkmail@sensewave.com / 2002-09-26 17:54:05 +0100: > From: Roman Neuhauser > > # 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