note 47699 deleted from function.imagettftext by aidan
| From: | aidan@php.net | Date: | Sat, 18 Dec 2004 03:38:25 +0000 |
| Subject: | note 47699 deleted from function.imagettftext by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-81956@lists.php.net to get a copy of this message | ||
Note Submitter: fabax1 at gmx dot de
----
On Windows-Platforms the simple absolute path to the font file is not enough.
Try this one:
"Create a folder called "font" where your script is, and put your font there.
$fontpath = realpath('./font/');
putenv('GDFONTPATH='.$fontpath);
$font = "arial";
"
Thanks to carramba(at)bootre(dot)com for that hint.