fresh install d 6.17
gd 6.18 confirmed working
Imagecache Text Actions 6.x-1.7
i created a folder fonts/ariali.ttf gave it 777 permissions
create text overlay action and get this
Font was found OK at fonts/ariali.ttf
then i get the error found below and no preview image. if i delete the action then the preview image shows up
* warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/myyofal5/public_html/modules/imagecache_actions/textactions.inc on line 284.
* Failed to generate text image. Cannot calculate text dimensions. Not overlaying text.
Comments
Comment #1
dman commentedHm, well at least the error messages were clueful.
Still, can't see what's bringing this on however.
Font is searched for - relative to drupal root, relative to module, then relative to files dir.
If you get an OK message during validation, then it sorta means it was found there somewhere.
The same code runs when using the actual toolkit. Though it currently uses is_file (instead of is_readable, which MAY be an issue, though unlikely if you've already looked at perms). Though 777 is not normal for files, it should at least make it readable.
Try downloading the ttf by accessing that font path directly? Just to confirm readability by the webserver.
Apart from that . um, I guess it could be a corrupt ttf file producing that error? Didja FTP upload it as a binary?
Not sure.
Comment #2
dman commentedComment #3
fietserwinD6 EOL. This module's D6 issues already haven't received any attention for over a year. Closing them all unconditionally now.