Hello world,
I have a problem with my EasyPHP1.5 and freetype library.
I would make an application wich add some text in image, and i've downloaded the freetype.dll
I run over Windows98, and Could not found font message appear.
What is the problem ? what can i do ?
You can see my code here :
$im = imagecreatefromjpeg($image_opti_2);
//imagejpeg($im);
$font = ImageColorAllocate ($im, 0xFF, 0x00, 0xFF);
ImageTTFText ($im, 10, 0, 40, 230, $font, '../font/Arial.ttf','Test');
Imagejpeg($im,$image_opti_2,90);
imagejpeg($image_opti_2);
imagedestroy($im);
I've put my arial font in the ..font/ folder, so it's in good place.
I've update my php.ini in EasyPHP/pear/test/ folder with the line :
; php.ini for PEAR tests
include_path=..
extension=../extensions/FreeType.dll
When I launch phpini.exe in EasyPHP/ folder, I see all the extensions, without Freetype, is it strongly or not ?
Thanks to your answers
Good day.
I'm french, sorry to mistakes.