Re: TrueType fonts on Windows XP

From: Date: Mon, 18 Aug 2003 22:36:37 +0000
Subject: Re: TrueType fonts on Windows XP
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-11443@lists.php.net to get a copy of this message
Maybe you should try with full path to the .ttf file... Also, try some different fonts, not only one... -- // DvDmanDT MSN: dvdmandt@hotmail.com Mail: dvdmandt@telia.com "Azn" <AznKnightmare@hotmail.com> skrev i meddelandet news:20030815023927.74353.qmail@pb1.pair.com... > I'm trying to create an image with PHP. However, this is my problem. When I > open my php file, that creates an image, I get this (without the HTML): > > Warning: imagettftext(): Could not find/open font in C:\Program > Files\Apache Group\Apache2\htdocs\image.php on line 14 > > These are my settings when I view phpinfo: > GD Support enabled > GD Version bundled (2.0.15 compatible) > FreeType Support enabled > FreeType Linkage with freetype > GIF Read Support enabled > JPG Support enabled > PNG Support enabled > WBMP Support enabled > XBM Support enabled > > > So I believe this should work. Anyone have any ideas? > > BTW, this is my strip of code: > > ImageTTFText($img,10,0,4,19,$textColor,"times.ttf","$ip\n\r$alt"); > >

« previous php.install (#11443) next »