ascii_art_captcha_font_slant.inc in CAPTCHA Pack 8
Same filename and directory in other branches
Font definition based on figlet font "slant" (http://www.figlet.org/)
File
ascii_art_captcha/fonts/ascii_art_captcha_font_slant.incView source
<?php
/**
* @file
* Font definition based on figlet font "slant" (http://www.figlet.org/)
*/
/**
* As distributed by pyfiglet (http://sourceforge.net/projects/pyfiglet/)
*/
function ascii_art_captcha_font_slant() {
$font = [];
$font['height'] = 6;
$font['name'] = 'slant';
$font['comment'] = 'Slant by Glenn Chappell 3/93 -- based on StandardIncludes ISO Latin-1figlet release 2.1 -- 12 Aug 1994Permission is hereby given to modify this font, as long as themodifier\'s name is placed on a comment line.Modified by Paul Burton <solution@earthlink.net> 12/96 to include new parametersupported by FIGlet and FIGWin. May also be slightly modified for better useof new full-width/kern/smush alternatives, but default output is NOT changed.';
$font['a'] = [
' ',
' ____ _',
' / __ `/',
'/ /_/ / ',
'\\__,_/ ',
' ',
];
$font['b'] = [
' __ ',
' / /_ ',
' / __ \\',
' / /_/ /',
'/_.___/ ',
' ',
];
$font['c'] = [
' ',
' _____',
' / ___/',
'/ /__ ',
'\\___/ ',
' ',
];
$font['d'] = [
' __',
' ____/ /',
' / __ / ',
'/ /_/ / ',
'\\__,_/ ',
' ',
];
$font['e'] = [
' ',
' ___ ',
' / _ \\',
'/ __/',
'\\___/ ',
' ',
];
$font['f'] = [
' ____',
' / __/',
' / /_ ',
' / __/ ',
'/_/ ',
' ',
];
$font['g'] = [
' ',
' ____ _',
' / __ `/',
' / /_/ / ',
' \\__, / ',
'/____/ ',
];
$font['h'] = [
' __ ',
' / /_ ',
' / __ \\',
' / / / /',
'/_/ /_/ ',
' ',
];
$font['i'] = [
' _ ',
' (_)',
' / / ',
' / / ',
'/_/ ',
' ',
];
$font['j'] = [
' _ ',
' (_)',
' / / ',
' / / ',
' __/ / ',
'/___/ ',
];
$font['k'] = [
' __ ',
' / /__',
' / //_/',
' / ,< ',
'/_/|_| ',
' ',
];
$font['l'] = [
' __',
' / /',
' / / ',
' / / ',
'/_/ ',
' ',
];
$font['m'] = [
' ',
' ____ ___ ',
' / __ `__ \\',
' / / / / / /',
'/_/ /_/ /_/ ',
' ',
];
$font['n'] = [
' ',
' ____ ',
' / __ \\',
' / / / /',
'/_/ /_/ ',
' ',
];
$font['o'] = [
' ',
' ____ ',
' / __ \\',
'/ /_/ /',
'\\____/ ',
' ',
];
$font['p'] = [
' ',
' ____ ',
' / __ \\',
' / /_/ /',
' / .___/ ',
'/_/ ',
];
$font['q'] = [
' ',
' ____ _',
' / __ `/',
'/ /_/ / ',
'\\__, / ',
' /_/ ',
];
$font['r'] = [
' ',
' _____',
' / ___/',
' / / ',
'/_/ ',
' ',
];
$font['s'] = [
' ',
' _____',
' / ___/',
' (__ ) ',
'/____/ ',
' ',
];
$font['t'] = [
' __ ',
' / /_',
' / __/',
'/ /_ ',
'\\__/ ',
' ',
];
$font['u'] = [
' ',
' __ __',
' / / / /',
'/ /_/ / ',
'\\__,_/ ',
' ',
];
$font['v'] = [
' ',
' _ __',
'| | / /',
'| |/ / ',
'|___/ ',
' ',
];
$font['w'] = [
' ',
' _ __',
'| | /| / /',
'| |/ |/ / ',
'|__/|__/ ',
' ',
];
$font['x'] = [
' ',
' _ __',
' | |/_/',
' _> < ',
'/_/|_| ',
' ',
];
$font['y'] = [
' ',
' __ __',
' / / / /',
' / /_/ / ',
' \\__, / ',
'/____/ ',
];
$font['z'] = [
' ',
' ____',
'/_ /',
' / /_',
'/___/',
' ',
];
$font['A'] = [
' ___ ',
' / |',
' / /| |',
' / ___ |',
'/_/ |_|',
' ',
];
$font['B'] = [
' ____ ',
' / __ )',
' / __ |',
' / /_/ / ',
'/_____/ ',
' ',
];
$font['C'] = [
' ______',
' / ____/',
' / / ',
'/ /___ ',
'\\____/ ',
' ',
];
$font['D'] = [
' ____ ',
' / __ \\',
' / / / /',
' / /_/ / ',
'/_____/ ',
' ',
];
$font['E'] = [
' ______',
' / ____/',
' / __/ ',
' / /___ ',
'/_____/ ',
' ',
];
$font['F'] = [
' ______',
' / ____/',
' / /_ ',
' / __/ ',
'/_/ ',
' ',
];
$font['G'] = [
' ______',
' / ____/',
' / / __ ',
'/ /_/ / ',
'\\____/ ',
' ',
];
$font['H'] = [
' __ __',
' / / / /',
' / /_/ / ',
' / __ / ',
'/_/ /_/ ',
' ',
];
$font['I'] = [
' ____',
' / _/',
' / / ',
' _/ / ',
'/___/ ',
' ',
];
$font['J'] = [
' __',
' / /',
' __ / / ',
'/ /_/ / ',
'\\____/ ',
' ',
];
$font['K'] = [
' __ __',
' / //_/',
' / ,< ',
' / /| | ',
'/_/ |_| ',
' ',
];
$font['L'] = [
' __ ',
' / / ',
' / / ',
' / /___',
'/_____/',
' ',
];
$font['M'] = [
' __ ___',
' / |/ /',
' / /|_/ / ',
' / / / / ',
'/_/ /_/ ',
' ',
];
$font['N'] = [
' _ __',
' / | / /',
' / |/ / ',
' / /| / ',
'/_/ |_/ ',
' ',
];
$font['O'] = [
' ____ ',
' / __ \\',
' / / / /',
'/ /_/ / ',
'\\____/ ',
' ',
];
$font['P'] = [
' ____ ',
' / __ \\',
' / /_/ /',
' / ____/ ',
'/_/ ',
' ',
];
$font['Q'] = [
' ____ ',
' / __ \\',
' / / / /',
'/ /_/ / ',
'\\___\\_\\ ',
' ',
];
$font['R'] = [
' ____ ',
' / __ \\',
' / /_/ /',
' / _, _/ ',
'/_/ |_| ',
' ',
];
$font['S'] = [
' _____',
' / ___/',
' \\__ \\ ',
' ___/ / ',
'/____/ ',
' ',
];
$font['T'] = [
' ______',
' /_ __/',
' / / ',
' / / ',
'/_/ ',
' ',
];
$font['U'] = [
' __ __',
' / / / /',
' / / / / ',
'/ /_/ / ',
'\\____/ ',
' ',
];
$font['V'] = [
' _ __',
'| | / /',
'| | / / ',
'| |/ / ',
'|___/ ',
' ',
];
$font['W'] = [
' _ __',
'| | / /',
'| | /| / / ',
'| |/ |/ / ',
'|__/|__/ ',
' ',
];
$font['X'] = [
' _ __',
' | |/ /',
' | / ',
' / | ',
'/_/|_| ',
' ',
];
$font['Y'] = [
'__ __',
'\\ \\/ /',
' \\ / ',
' / / ',
'/_/ ',
' ',
];
$font['Z'] = [
' _____',
'/__ /',
' / / ',
' / /__',
'/____/',
' ',
];
$font['0'] = [
' ____ ',
' / __ \\',
' / / / /',
'/ /_/ / ',
'\\____/ ',
' ',
];
$font['1'] = [
' ___',
' < /',
' / / ',
' / / ',
'/_/ ',
' ',
];
$font['2'] = [
' ___ ',
' |__ \\',
' __/ /',
' / __/ ',
'/____/ ',
' ',
];
$font['3'] = [
' _____',
' |__ /',
' /_ < ',
' ___/ / ',
'/____/ ',
' ',
];
$font['4'] = [
' __ __',
' / // /',
' / // /_',
'/__ __/',
' /_/ ',
' ',
];
$font['5'] = [
' ______',
' / ____/',
' /___ \\ ',
' ____/ / ',
'/_____/ ',
' ',
];
$font['6'] = [
' _____',
' / ___/',
' / __ \\ ',
'/ /_/ / ',
'\\____/ ',
' ',
];
$font['7'] = [
' _____',
'/__ /',
' / / ',
' / / ',
'/_/ ',
' ',
];
$font['8'] = [
' ____ ',
' ( __ )',
' / __ |',
'/ /_/ / ',
'\\____/ ',
' ',
];
$font['9'] = [
' ____ ',
' / __ \\',
' / /_/ /',
' \\__, / ',
'/____/ ',
' ',
];
return $font;
}
Functions
Name | Description |
---|---|
ascii_art_captcha_font_slant | As distributed by pyfiglet (http://sourceforge.net/projects/pyfiglet/) |