tppAsciiArtFont

Get It Now Only $5!
License Agreement


tppAsciiArtFont is an ASCII Art Font PHP script that is extremely easy to integrate with your site.
Use it to stop email address harvesters from scanning your site for addresses! Get It Now Only $5!
License Agreement
tppAsciiArtFont v1.0 - 10/29/2006

Documentation

Defines

  • tppAsciiArtFontLetterSpacing

Yellow highlights represent default values

tppAsciiArtFontLetterSpacing
defaults to: 1

The number of spaces between letters.


Functions

  • tppAsciiArtFontOutput

function tppAsciiArtFontGenerate( $text = 'test', $fontFile = 'default' )

string function tppAsciiArtFontGenerate( $text, [$fontFile] )
$text is optional however since this is the text you want to display it would make sense to actually pass something in. :)
If nothing is passed, the word 'TEST' is output.

$fontFile is optional - it defaults to 'default'. Supply a different name for $fontFile to use a different font. tppAsciiArtFont ships with 8 fonts. 'default', 'big', 'hash', 'future', 'giant', reverse', 'roman', 'tinker'.

This function returns a string containing the display value. This may be placed inside any HTML element, but the font used to display it must be a fixed-width font. A <pre> tag is an easy way to display the ASCII art font.
The example uses something similar to <pre style="font-size: 6pt;">


Creating New Fonts

New fonts are simple to create, just put letters in a text file with at least one empty line between letters. Letters A-Z and numbers 0-9 are supported. Lower case letters are not. Characters should appear in the file in that same order too. A-Z 0-9. Remember to make your letter O's and your zeros look different.

If you want to have the symbols look different, please see symbol.dat


Regular Price: $12 - On Sale for only $5! The price will go up soon, so don't delay, buy it today!

For web site hosting I recommend - www.bluehost.com