Skip to content

Latest commit

 

History

History
 
 

pear-figlet

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
FIGlet project home page: http://www.figlet.org/
You can download FIGlet fonts from: ftp://ftp.figlet.org/pub/figlet/fonts/
Project home page (Russian): http://bolknote.ru/files/figlet/

Notes:
1. There are no support flc and vertical smushing.
2. But horizontal smushing is supported.
3. Default character (0x00) is supported.
4. German symbols are supported.
5. It is supported Unicode as %uHHHH, HHHH - a hex code of a character (UCS-2).
7. RTL and LTR text directions are suppoted.
8. Windows and Unix font formats are supported.
9. Incomplete fonts are supported (for example dwhistled.flf).
10. Gzipped fonts supported as .flf.gz (zlib PHP extension required)
11. ZIPed fonts supported (ZIP PHP extension required)
                                                                              `
Usage:

    include_once 'Text/Figlet.php';

    $figlet = new Text_Figlet();
    if (PEAR::isError($error = $figlet->LoadFont('slant.flf'))) {
        echo 'Error: ', $error->getMessage();
    } else {
        echo $figlet->LineEcho("Hello, world!");
    }