!Imagettftext() lib_gd2 ttf font problem Solution!

From: Date: Sat, 14 Dec 2002 22:41:44 +0000
Subject: !Imagettftext() lib_gd2 ttf font problem Solution!
Groups: php.windows 
Request: Send a blank email to php-windows+get-17409@lists.php.net to get a copy of this message
Hi, I've recently found a way out from that nasty php + win32 problem with imagettftext() that can't find/open fontfile. Apparently sth was compiled wrong, so that lib_gd2 bastart won't let anyone override it's original path. The solution is to put your ttf files into: c:\winnt\fonts dir (that path is compiled into lib_gd2.dll) so when you copy like arial.ttf there, then all you need to do is use "arial" as the font parameter and it WORKS. Enjoy :> ----owczi the humble sheep

« previous php.windows (#17409) next »