Closed (works as designed)
Project:
ImageCache Actions
Version:
6.x-1.7
Component:
Text Actions Module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2010 at 04:08 UTC
Updated:
25 Jan 2012 at 22:42 UTC
Fatal error: Call to undefined function imagettfbbox() in /home/littledeer/www/sites/all/modules/imagecache_actions/textactions.inc on line 284
Basically, the image does not display. I have seen sort-of-related issues like this and tried some of the fixes suggested. I have tried verifying that GD in installed. I used a more generic font, etc. I tried at first to output the default text with the default font as well. I tried updating to the DEV version, but ended up with another error. (Something similar, but about "overlay"...)
PHP Version 5.2.13
Comments
Comment #1
dman commentedhm.
Can't imagine how that particular error would occur if gd exists. it's sorta integral to it.
THOUGH you may have an incomplete gd. There are extra dependencies, like freetypelib
My sample. See '--with-gd' '--with-ttf' '--enable-gd-native-ttf'
That really is normally all in the package when you get a working PHP distro, though I recall having to add them myself when doing my own builds
php -iIf you have some of the above (freetype or ttf) things missing, that may explain it.
Comment #2
ron williams commentedI had this error on a new server that did not have TTF support for php.
Comment #3
dman commented@Ron Williams
Thanks for the confirmation!
I suspected as much, but wasn't really going to be able to replicate easily.