note 36725 added to function.imagettftext
| From: | mhellmund at rn2 dot php dot net | Date: | Mon, 20 Oct 2003 13:10:50 +0000 |
| Subject: | note 36725 added to function.imagettftext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-58939@lists.php.net to get a copy of this message | ||
In case Adam's solutions don't work for you, here's another nice work-around for
"Warning: Could not find/open font in c:\...":
ImageTTFText seems to have problems with fonts residing in a directory tree with spaces (e.g.
c:\Programme\Apache Group\apache\htdocs\myfont.ttf). Just replace path items containing spaces with
the appropriate ms-dos 8.3 style names (e.g. c:\Programme\apache~1\apache\htdocs\myfont.ttf) and you
should be fine.
Cheers,
Matthias
----
Manual Page -- http://www.php.net/manual/en/function.imagettftext.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36725
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36725&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36725&report=yes
Search -- http://master.php.net/manage/user-notes.php