Show
Ignore:
Timestamp:
05/07/2008 09:24:19 AM (7 months ago)
Author:
OscarB
Message:

Changes to use standard font in system/fonts.
Add new 'alphasoup' captcha style based on Pulstar's forum post.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/config/captcha.php

    r2535 r2652  
    1212 */ 
    1313$config['width']  = 150; 
    14 $config['height'] = 40; 
     14$config['height'] = 50; 
    1515 
    1616/** 
     
    1919 * 'standard' is the recommended style. A font must be supplied. A background 
    2020 * image is optional. 
     21 * 'alphasoup' is an alternative style. A font must be supplied. 
    2122 * 'math' is a 'solve the question' style. 
    2223 * A font must be supplied. A background image is optional. 
    2324 * Custom styles can be added easily by extending the library. 
    2425 */ 
    25 $config['style'] = 'basic'; 
     26$config['style'] = 'standard'; 
    2627 
    2728/** 
     
    3536 * If using 'standard' style, you must supply a valid truetype font file. 
    3637 */ 
    37 $config['font_path'] = ''; 
     38$config['font_path'] = SYSPATH.'fonts/'; 
    3839 
    3940/** 
    4041 * Name of the font, with the file extension. Case sensitive. 
    4142 */ 
    42 $config['font_name'] = ''; 
     43$config['font_name'] = 'DejaVuSerif.ttf'; 
    4344 
    4445/**