ik heb ff om te testen deze code van php.net geplukt,
maar ik krijg deze error:
--with-gd' '--with-gdbm' '--with-gettext' '--with-jpeg-'--''--with-png' '--with-ttf'
hoe kan dit? (het gaat dus om die TTF support en niet om de GIF support)
PHP:
1
2
3
4
5
6
7
8
9
10
| <? Header ("Content-type: image/gif"); $im = imagecreate (400, 30); $black = ImageColorAllocate ($im, 0, 0, 0); $white = ImageColorAllocate ($im, 255, 255, 255); ImageTTFText ($im, 20, 0, 10, 20, $white, "/path/arial.ttf", "Testing... Omega: &#937;"); ImageGif ($im); ImageDestroy ($im); ?> |
maar ik krijg deze error:
terwijler in phpinfo() staat:ImageTtfText: No TTF support in this PHP build in /home...
ImageGif: No GIF support in this PHP build in /home....
--with-gd' '--with-gdbm' '--with-gettext' '--with-jpeg-'--''--with-png' '--with-ttf'
hoe kan dit? (het gaat dus om die TTF support en niet om de GIF support)