note 90580 added to function.imagettftext
| From: | philip at webdesco dot com | Date: | Wed, 29 Apr 2009 12:51:22 +0000 |
| Subject: | note 90580 added to function.imagettftext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-153960@lists.php.net to get a copy of this message | ||
Hi,
for the dummies (like myself) if you are having problems including your font file, prefix the file
name with ./
On my development server the following worked fine
$myfont = "coolfont.ttf";
on my hosting server the only way i could get the font to work was as follows
$myfont = "./coolfont.ttf";
hope this helps someone out!
----
Server IP: 69.147.83.197
Probable Submitter: 91.110.122.184
----
Manual Page -- http://www.php.net/manual/en/function.imagettftext.php
Edit -- https://master.php.net/note/edit/90580
Del: integrated -- https://master.php.net/note/delete/90580/integrated
Del: useless -- https://master.php.net/note/delete/90580/useless
Del: bad code -- https://master.php.net/note/delete/90580/bad+code
Del: spam -- https://master.php.net/note/delete/90580/spam
Del: non-english -- https://master.php.net/note/delete/90580/non-english
Del: in docs -- https://master.php.net/note/delete/90580/in+docs
Del: other reasons-- https://master.php.net/note/delete/90580
Reject -- https://master.php.net/note/reject/90580
Search -- https://master.php.net/manage/user-notes.php