[req] Php Font Change Help

Derek

Community Support Force
Community Support
Messages
12,882
Reaction score
186
Points
63
Can someone help me change the font to this to some other one..

PHP:
<?php
header("Content-type: image/png");
$string = $_GET['text'];
$im     = imagecreatefrompng("images/blank.PNG");
$black = imagecolorallocate($im, 182, 210, 60);
$px     = (imagesx($im) - 5 * strlen($string)) / 2;
imagestring($im, 2, 15, 2, $string, $textcolor);
imagepng($im);
imagedestroy($im);
?>

I want that instead of looking like that

lalalpz7.png


to look like this
home.gif
 

Cubeform

New Member
Messages
339
Reaction score
0
Points
0
Of course, you'll need to upload the TrueType font you want to your hosting space.
 

Derek

Community Support Force
Community Support
Messages
12,882
Reaction score
186
Points
63
I still need help with this. Offering points still.
 
Top