Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
FIGlet project home page: http://www.figlet.org/
2
You can download FIGlet fonts from: ftp://ftp.figlet.org/pub/figlet/fonts/
3
Project home page (Russian): http://bolknote.ru/files/figlet/
4
 
5
Notes:
6
1. There are no support flc and vertical smushing.
7
2. But horizontal smushing is supported.
8
3. Default character (0x00) is supported.
9
4. German symbols are supported.
10
5. It is supported Unicode as %uHHHH, HHHH - a hex code of a character (UCS-2).
11
7. RTL and LTR text directions are suppoted.
12
8. Windows and Unix font formats are supported.
13
9. Incomplete fonts are supported (for example dwhistled.flf).
14
10. Gzipped fonts supported as .flf.gz (zlib PHP extension required)
15
11. ZIPed fonts supported (ZIP PHP extension required)
16
                                                                              `
17
Usage:
18
 
19
    include_once 'Text/Figlet.php';
20
 
21
    $figlet = new Text_Figlet();
22
    if (PEAR::isError($error = $figlet->LoadFont('slant.flf'))) {
23
        echo 'Error: ', $error->getMessage();
24
    } else {
25
        echo $figlet->LineEcho("Hello, world!");
26
    }