a few words about web development

Headers using any font- image header PHP generator

Another straight to the point solution
Sometimes you might want to use fancy fonts on your site but while you have a license to use the font commercially you can't redistribute the font and therefore you can't embed it on your website using @font-face. Or maybe you want to create text headers with some advanced filtering?
Then you are in the right place. Here's a simple PHP class which will generate image headers for you, dynamically. Just put your font file in the same directory as this class and set a few things, like background/text color, font size or output format.

include 'ImageHeader.php';

$h = new ImageHeader;

$h->backgroundColor = 0x0000FF; //blue background
$h->textColor = 0x000000; //black text color
$h->fontSize = 70;
$h->fontFile = 'Futura.ttf';
$h->text = 'Image Header';
$h->render(); //output to browser

Above code can generate this:

Of course I advise you to choose better colors than I did here :)

Comments