Index: image_captcha.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/captcha/image_captcha/image_captcha.admin.inc,v
retrieving revision 1.21
diff -u -r1.21 image_captcha.admin.inc
--- image_captcha.admin.inc	27 Aug 2009 21:52:27 -0000	1.21
+++ image_captcha.admin.inc	9 Sep 2009 16:17:06 -0000
@@ -12,7 +12,7 @@
 function _image_captcha_available_fonts() {
   $available_fonts = array('BUILTIN' => t('Built-in font'));
   $fontsdirectories = array(
-    drupal_get_path('module', 'image_captcha') .'/fonts',
+    variable_get('image_captcha_font_path', drupal_get_path('module', 'image_captcha') .'/fonts'),
     file_directory_path(),
   );
   foreach ($fontsdirectories as $fontsdirectory) {
@@ -78,6 +78,12 @@
     '#type' => 'fieldset',
     '#title' => t('Font settings'),
   );
+  $form['image_captcha_font_settings']['image_captcha_font_path'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Fonts directory path'),
+    '#default_value' => variable_get('image_captcha_font_path', drupal_get_path('module', 'image_captcha') .'/fonts'),
+    '#description' => t('The path to TrueType fonts on your system.  The default is !path', array('path' => drupal_get_path('module', 'image_captcha') .'/fonts')),
+  );
   $available_fonts = _image_captcha_available_fonts();
   list($default_font, $errno) = _image_captcha_get_font();
   $form['image_captcha_font_settings']['image_captcha_font'] = array(

