note 40862 deleted from function.imagettftext by aidan
| From: | aidan@php.net | Date: | Mon, 20 Sep 2004 09:56:56 +0000 |
| Subject: | note 40862 deleted from function.imagettftext by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-77015@lists.php.net to get a copy of this message | ||
Note Submitter: Robert at Triangle-services dot NL
----
Ok, for all you windows users that STILL get the Could not find/open font error... i think i've
found the solution.
The php-for-windows package has the directory /windows/fonts hardcoded for all Win32 distributions.
It doesn't look anywhere else (e.g. the php folder, the documentroot or the script location).
However, if you use Windows XP, the windows-home directory is not WINNT as in Win2k, but Windows
(back to the old days).
The next solution is not elegant, but it works (and is the only solution i have found that works for
winXP).
Create a directory Winnt\fonts in the root of the same partition as your main operating system, and
put the fonts you want to use in the newly created fonts-directory...
enjoy!
(thnx to Pioneer for helping me out on this one)