My font files (all ttf files) are located in files/fonts (at the document root).
So when I enter the location in /admin/settings/textimage/captcha I get the error "The current font path is invalid. The default font will be used." which is just pure lies.. Even the module does locate them because it correctly counts the number of fonts in the directory at the bottom. (see attached)
Annoyingly it wont accept the location on the inital settings page..
As a result textimage won't work :(

CommentFileSizeAuthor
Text Image | meta-ot.pdf51.74 KBwillwade

Comments

BradM’s picture

this has been brought up a lot here, I think the answer is to make sure your font directory is chmod 777

leoklein’s picture

Yup, I fell into this trap. A better error message might help.

willwade’s picture

Yeah - only after I posted did I see the other similar postings.. (I can't stand the way drupal is laid out for these project discussions)
Its not just a chmod 777 issue - because the directory (and the one above it - the main files dir) is already 777'd. The answer it appears is to make sure the fonts folder is in your www root - not in a subfolder

thanks for the pointers folks!

drewish’s picture

Status: Active » Closed (duplicate)