Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2002 18:31:22 +0200
From:      Roman Neuhauser <neuhauser@bellavista.cz>
To:        la3sg@sensewave.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: PHP, GD2 and True Type Fonts
Message-ID:  <20020926163122.GR30361@freepuppy.bellavista.cz>
In-Reply-To: <3D934202.6025.1DCC81E@localhost>
References:  <3D934202.6025.1DCC81E@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
# 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

    ISTR the path must be absolute.

--=20
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
6:30PM up 9 days, 1:45, 9 users, load averages: 0.00, 0.01, 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?20020926163122.GR30361>