Re: Problems with TTF

From: Date: Wed, 24 Oct 2001 16:21:56 +0000
Subject: Re: Problems with TTF
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-72119@lists.php.net to get a copy of this message
At 24.10.01 12:37, you 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? I had the same problems while using postscriptfonts.
try this $font=imagepsloadfont("YOUR.FONT"); you have to look for a substitution for imageepsloadfont maybe it´s imagettfloadfont(); - and you have to do this command TWO times. Don´t ask me why, but it works ?! Hope this helps Oliver

« previous php.general (#72119) next »