Re: Problems with TTF

From: Date: Wed, 24 Oct 2001 14:15:25 +0000
Subject: Re: Problems with TTF
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-72102@lists.php.net to get a copy of this message
On Wed, 24 Oct 2001 12:37:16 +0200 "Alberto" <alberto arround sdrsl.com@pb1.pair.com> wrote: > Warning: Could not find/open font in > /sdr/httpd/Prisa/DATA/private/libs/graficos/intradia.php on line 57 > > Line 57: ImageTTFText ($O_imagen, 11, 0, 10, 20, $O_colorValor, > "arial.ttf",$s_Valor); > > arial.ttf is into the same dir. > > Any ideas? try "./arial.ttf" and see if that helps I don't remember if there's a font path for ttf fonts in php.ini or not- but if there is, its quite possible ./ isn't in it on your system. (If there's not one- there should be...) Last time I did anything with Freetype- I made a /fonts/php directory on my filesystem, and put whatever fonts I wanted in their, and called them full path. -- -=-=-=-=-=-=-=-=-=-=-=-=- Michael A. Peters http://24.5.29.77:10080/

« previous php.general (#72102) next »