Image Font
This class can render images with text using graphics as fonts. It takes a text string and creates an image on which the characters of the string are displayed using separate image files to render each character. The text may be aligned to the left, right, center or be justified. The image width may be limited so the text is wrapped if it exceeds that width limit. The character graphics may be mapped to image files with the same base name in a given directory. Alternatively an array may be passed to define the paths of the character image files. The generated image may be saved to a file or displayed as the current script output in any of the formats supported by the PHP GD image extension.