[GD]Could not find/open font - font problem
From: carramba (carramba_at_bootre.com)
Date: 03/09/04
- Next message: Jochen Daum: "Re: mysql and serialized php objects?Q"
- Previous message: Andreas Rueckert: "Re: PHP compiler"
- Next in thread: CountScubula: "Re: [GD]Could not find/open font - font problem"
- Reply: CountScubula: "Re: [GD]Could not find/open font - font problem"
- Reply: jn: "Re: [GD]Could not find/open font - font problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 9 Mar 2004 12:00:18 -0800
I know this subjekt was up several times but Icant get it work
use gd2 on win32
<?
putenv('GDFONTPATH=f:\swd\font');
$font = "f:/swd/font/arial.ttf";
$im = imagecreate (250, 28);
$black = ImageColorAllocate ($im, 0, 0, 0);
$yellow = ImageColorAllocate ($im, 235, 235, 51);
ImageTTFText ($im, 20, 0, 10, 20, $yellow, $font,
"comming text or not?");
ImagePNG($im,test.png);
?>
<img src="test.png" alt="image">
but I allway get error about not finding font ..
what should I do?
- Next message: Jochen Daum: "Re: mysql and serialized php objects?Q"
- Previous message: Andreas Rueckert: "Re: PHP compiler"
- Next in thread: CountScubula: "Re: [GD]Could not find/open font - font problem"
- Reply: CountScubula: "Re: [GD]Could not find/open font - font problem"
- Reply: jn: "Re: [GD]Could not find/open font - font problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]