I have. I just copied his original code, since I had questions about it. I have a file named ttf.php:
<?php
$font = '/home/babbler.us/babbler/www/ttf/georgia.ttf';
$letter = urldecode(urldecode($letters));
$letter = str_replace('_', ' ', $letter);
$letter = str_replace('.png', '', $letter);
$im = imagecreate (730, 50);
$black = imagecolorallocate ($im, 244, 249, 217); // Background
$white = imagecolorallocate ($im, 69, 78, 63); // Text
$shadow = imagecolorallocate ($im, 230, 242, 166);
imagettftext ($im, 32, 0, 23, 34, $shadow, $font, $letter); // Text shadow
imagettftext ($im, 36, 0, 1, 24, $shadow, $font, '∞'); // Infinity symbol shadow
imagettftext ($im, 36, 0, 0, 22, imagecolorallocate ($im, 170, 193, 43), $font, '∞'); // Infinity symbol
imagettftext ($im, 32, 0, 20, 32, $white, $font, $letter); // Text
header('Content-Type: image/png');
imagePNG($im);
imagedestroy ($im);
?>
And yes, gerogia.ttf is there, otherwise the symbol would not print. On the imagettftext lines, if I change $text for some value, like ‘David’, then it will print.
The test.php file contains:
<img src=”ttf.php?letters=THIS IS A TEST TO SEE HOW THIS WORKS”>
I also tried <img src=’ttf.php?letters=THIS IS A TEST TO SEE HOW THIS WORKS’>
The symbol prints, the text will not.