php 4.2.3, gd2, freetype 2 and still a problem with truetype fonts
| From: | Claudia Raedig | Date: | Mon, 18 Nov 2002 18:46:03 +0000 |
| Subject: | php 4.2.3, gd2, freetype 2 and still a problem with truetype fonts | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-17017@lists.php.net to get a copy of this message | ||
hello everybody again,
a solution for this problem is offered on http://bugs.php.net, #bug 18879. I didn't find it earlier, but the workaround:
putenv("GDFONTPATH=c:\\winnt\\fonts");
then use font name without extension (eg. "arial") in your call to ImageTTFBBox();
works perfectly, with other ttf-functions as well. ciao, claudia